├── .hgignore ├── COPYRIGHT.html ├── Doxyfile ├── README.md ├── WebContent ├── META-INF │ └── MANIFEST.MF ├── WEB-INF │ ├── conf │ │ ├── cli │ │ │ ├── extensions.properties │ │ │ ├── mail.properties │ │ │ ├── messages.properties │ │ │ ├── observers.properties │ │ │ ├── output.properties │ │ │ ├── responseImpl.properties │ │ │ ├── unicorn.properties │ │ │ ├── unicorn_log4j.xml │ │ │ └── velocity.properties │ │ ├── extensions.properties.default │ │ ├── mail.properties.default │ │ ├── messages.properties.default │ │ ├── observers.properties.default │ │ ├── output.properties.default │ │ ├── responseImpl.properties.default │ │ ├── unicorn.properties.default │ │ ├── unicorn_log4j.xml.default │ │ └── velocity.properties.default │ ├── languages │ │ ├── ar.properties │ │ ├── bg.properties │ │ ├── buccaneer.properties │ │ ├── ca.properties │ │ ├── cs.properties │ │ ├── da.properties │ │ ├── de.properties │ │ ├── el.properties │ │ ├── en.properties │ │ ├── eo.properties │ │ ├── es.properties │ │ ├── et.properties │ │ ├── fa.properties │ │ ├── fi.properties │ │ ├── fr.properties │ │ ├── gl.properties │ │ ├── he.properties │ │ ├── hi.properties │ │ ├── hr.properties │ │ ├── hu.properties │ │ ├── id.properties │ │ ├── is.properties │ │ ├── it.properties │ │ ├── ja.properties │ │ ├── ko.properties │ │ ├── l33t.properties │ │ ├── lolcat.properties │ │ ├── lt.properties │ │ ├── lv.properties │ │ ├── nb.properties │ │ ├── nl.properties │ │ ├── pl.properties │ │ ├── pt.properties │ │ ├── rm.properties │ │ ├── ro.properties │ │ ├── ru.properties │ │ ├── sk.properties │ │ ├── sl.properties │ │ ├── sv.properties │ │ ├── tasks │ │ │ ├── ar.tasklist.properties │ │ │ ├── bg.tasklist.properties │ │ │ ├── buccaneer.tasklist.properties │ │ │ ├── ca.tasklist.properties │ │ │ ├── cs.tasklist.properties │ │ │ ├── da.tasklist.properties │ │ │ ├── de.tasklist.properties │ │ │ ├── en.tasklist.properties │ │ │ ├── eo.tasklist.properties │ │ │ ├── es.tasklist.properties │ │ │ ├── et.tasklist.properties │ │ │ ├── fa.tasklist.properties │ │ │ ├── fi.tasklist.properties │ │ │ ├── fr.tasklist.properties │ │ │ ├── gl.tasklist.properties │ │ │ ├── he.tasklist.properties │ │ │ ├── hr.tasklist.properties │ │ │ ├── hu.tasklist.properties │ │ │ ├── id.tasklist.properties │ │ │ ├── is.tasklist.properties │ │ │ ├── it.tasklist.properties │ │ │ ├── ja.tasklist.properties │ │ │ ├── ko.tasklist.properties │ │ │ ├── l33t.tasklist.properties │ │ │ ├── lolcat.tasklist.properties │ │ │ ├── lt.tasklist.properties │ │ │ ├── lv.tasklist.properties │ │ │ ├── nb.tasklist.properties │ │ │ ├── nl.tasklist.properties │ │ │ ├── pl.tasklist.properties │ │ │ ├── pt.tasklist.properties │ │ │ ├── ro.tasklist.properties │ │ │ ├── ru.tasklist.properties │ │ │ ├── sk.tasklist.properties │ │ │ ├── sl.tasklist.properties │ │ │ ├── sv.tasklist.properties │ │ │ ├── te.tasklist.properties │ │ │ ├── th.tasklist.properties │ │ │ ├── tr.tasklist.properties │ │ │ ├── uk.tasklist.properties │ │ │ ├── vi.tasklist.properties │ │ │ ├── zh-Hans.tasklist.properties │ │ │ └── zh-Hant.tasklist.properties │ │ ├── te.properties │ │ ├── th.properties │ │ ├── tr.properties │ │ ├── uk.properties │ │ ├── vi.properties │ │ ├── zh-Hans.properties │ │ └── zh-Hant.properties │ ├── lib │ │ └── icu4j-4_4_1.jar │ ├── resources │ │ ├── contracts │ │ │ ├── appc-checker-validator.wadl │ │ │ ├── css-validator.wadl │ │ │ ├── css1.wadl │ │ │ ├── css2.wadl │ │ │ ├── css21.wadl │ │ │ ├── css3.wadl │ │ │ ├── feed-validator.wadl │ │ │ ├── http.wadl │ │ │ ├── i18n.wadl │ │ │ ├── markup-validator.wadl │ │ │ ├── test.wadl │ │ │ ├── unicorn.wadl │ │ │ └── valnu.wadl │ │ ├── images │ │ │ └── unicons_sprite.psd │ │ ├── schemas │ │ │ ├── log4j.dtd │ │ │ ├── observer-response.xsd │ │ │ ├── tasklist.xsd │ │ │ ├── wadl.xsd │ │ │ └── xhtml │ │ │ │ ├── xhtml-attribs-1.xsd │ │ │ │ ├── xhtml-basic10-model-1.xsd │ │ │ │ ├── xhtml-basic10-modules-1.xsd │ │ │ │ ├── xhtml-basic10.xsd │ │ │ │ ├── xhtml-blkphras-1.xsd │ │ │ │ ├── xhtml-blkstruct-1.xsd │ │ │ │ ├── xhtml-copyright-1.xsd │ │ │ │ ├── xhtml-datatypes-1.xsd │ │ │ │ ├── xhtml-hypertext-1.xsd │ │ │ │ ├── xhtml-image-1.xsd │ │ │ │ ├── xhtml-inlphras-1.xsd │ │ │ │ ├── xhtml-inlstruct-1.xsd │ │ │ │ ├── xhtml-list-1.xsd │ │ │ │ └── xhtml-text-1.xsd │ │ ├── tasklist │ │ │ └── tasklist.xml │ │ ├── templates │ │ │ ├── includes │ │ │ │ ├── footer.vm │ │ │ │ ├── head.vm │ │ │ │ ├── macros_index.vm │ │ │ │ └── parameters.vm │ │ │ ├── index.vm │ │ │ ├── init.vm │ │ │ ├── language.form.vm │ │ │ ├── language.mail.vm │ │ │ ├── language.properties.vm │ │ │ ├── language.vm │ │ │ ├── tasklist.properties.vm │ │ │ ├── text.error.vm │ │ │ ├── text.vm │ │ │ ├── xhtml10.vm │ │ │ ├── xml.error.vm │ │ │ └── xml.vm │ │ └── tomcat_policy │ │ │ └── 05unicorn.policy │ └── web.xml ├── images │ ├── I_heart_validator.png │ ├── ajax-loader.gif │ ├── arrow-closed.png │ ├── arrow-open.png │ ├── button.png │ ├── double.png │ ├── favicon.ico │ ├── favicon_green.ico │ ├── favicon_red.ico │ ├── globe.png │ ├── globe2.png │ ├── grad.png │ ├── head-bl.png │ ├── head-br.png │ ├── icone_error_b.png │ ├── icone_info_2.png │ ├── icone_info_b.png │ ├── icone_warning_b.png │ ├── opensource-75x65.png │ ├── qa-small.png │ ├── round-br.png │ ├── round-tl.png │ ├── round-tr.png │ ├── tab-tl.png │ ├── tab-tr.png │ ├── textbg.png │ ├── unicons_sprite.png │ └── w3c.png ├── index.html ├── scripts │ ├── mootools-1.2.4.4-more-nc.js │ ├── mootools-1.2.4.4-more-yc.js │ ├── mootools-1.2.5-core-more-yc.js │ ├── mootools-1.2.5-core-yc.js │ ├── mootools-1.3.2.js │ ├── w3c_unicorn_index.js │ ├── w3c_unicorn_init.js │ ├── w3c_unicorn_languages.js │ └── w3c_unicorn_results.js ├── style │ ├── base_ucn.css │ └── init.css └── tutorial │ ├── test_1.xml │ ├── test_2.xml │ ├── test_3.xml │ └── test_4.xml ├── build.xml ├── ivy.xml ├── src └── org │ └── w3c │ └── unicorn │ ├── Framework.java │ ├── RequestThread.java │ ├── UnicornCall.java │ ├── UnicornClient.java │ ├── action │ ├── Action.java │ ├── IndexAction.java │ ├── InitAction.java │ ├── LanguageAction.java │ ├── ObserveAction.java │ └── TestObserver.java │ ├── contract │ ├── CallMethod.java │ ├── CallParameter.java │ ├── EnumInputMethod.java │ ├── InputMethod.java │ ├── Observer.java │ ├── Option.java │ ├── WADLUnmarshaller.java │ └── WADLUnmarshallerXPath.java │ ├── exceptions │ ├── InitializationFailedException.java │ ├── ParameterException.java │ ├── UnicornException.java │ ├── UnknownObserverException.java │ └── UnknownParserException.java │ ├── input │ ├── DirectInputModule.java │ ├── DirectInputParameter.java │ ├── FakeUploadInputModule.java │ ├── FileItemInputModule.java │ ├── InputModule.java │ ├── InputParameter.java │ ├── URIInputModule.java │ ├── URIInputParameter.java │ ├── UploadInputModule.java │ └── UploadInputParameter.java │ ├── output │ ├── EnumOutputModule.java │ ├── FileOutputFormater.java │ ├── MailOutputModule.java │ ├── OutputFactory.java │ ├── OutputFormater.java │ ├── OutputModule.java │ ├── SimpleOutputFormater.java │ ├── SimpleOutputModule.java │ └── XMLOutputFormater.java │ ├── request │ ├── DirectRequestGET.java │ ├── DirectRequestPOST.java │ ├── Request.java │ ├── RequestList.java │ ├── TrustAllManager.java │ ├── URIRequest.java │ └── UploadRequest.java │ ├── response │ ├── Context.java │ ├── Group.java │ ├── Message.java │ ├── Response.java │ ├── ResponseFactory.java │ └── impl │ │ ├── DefaultContextXBeans.java │ │ ├── DefaultGroupXBeans.java │ │ ├── DefaultMessageXBeans.java │ │ ├── DefaultResponseXBeans.java │ │ ├── ValidatorNuContext.java │ │ ├── ValidatorNuMessage.java │ │ └── ValidatorNuResponse.java │ ├── tasklist │ ├── Group.java │ ├── Output.java │ ├── Task.java │ ├── TaskListUnmarshallerBeans.java │ ├── Tasklist.java │ ├── TasksListUnmarshaller.java │ └── parameters │ │ ├── CheckboxListParameter.java │ │ ├── CheckboxParameter.java │ │ ├── DropDownParameter.java │ │ ├── DropdownListParameter.java │ │ ├── Mapping.java │ │ ├── Parameter.java │ │ ├── ParameterFactory.java │ │ ├── ParameterType.java │ │ ├── RadioParameter.java │ │ ├── TextAreaParameter.java │ │ ├── TextFieldParameter.java │ │ └── Value.java │ ├── tasklisttree │ ├── EnumCondType.java │ ├── MethodCond.java │ ├── MimetypeCond.java │ ├── ParameterCond.java │ ├── TLTCond.java │ ├── TLTExec.java │ ├── TLTIf.java │ ├── TLTNode.java │ └── XPathCond.java │ └── util │ ├── ClientHttpRequest.java │ ├── EscapeHTMLEntities.java │ ├── EscapeXMLEntities.java │ ├── Language.java │ ├── ListFiles.java │ ├── LocalizedString.java │ ├── Mail.java │ ├── Message.java │ ├── MessageList.java │ ├── Property.java │ ├── Templates.java │ ├── UCNProperties.java │ ├── UnicornAuthenticator.java │ ├── UnicornVelocityTool.java │ ├── Unmarshaller.java │ └── XHTMLize.java └── w3c.json /.hgignore: -------------------------------------------------------------------------------- 1 | syntax: glob 2 | dist/ 3 | build/ 4 | lib/ 5 | .settings/ 6 | .classpath 7 | .project 8 | *.sh -------------------------------------------------------------------------------- /COPYRIGHT.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/COPYRIGHT.html -------------------------------------------------------------------------------- /WebContent/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Ant-Version: Apache Ant 1.8.0 3 | Created-By: 1.6.0_22-b04 (Sun Microsystems Inc.) 4 | Main-Class: org.w3c.unicorn.UnicornClient 5 | Class-Path: conf/ 6 | lib/activation-1.1.jar 7 | lib/ant-1.6.jar 8 | lib/antlr-2.7.2.jar 9 | lib/avalon-framework-4.1.3.jar 10 | lib/commons-beanutils-1.7.0.jar 11 | lib/commons-chain-1.1.jar 12 | lib/commons-collections-3.2.1.jar 13 | lib/commons-digester-1.8.jar 14 | lib/commons-fileupload-1.2.1.jar 15 | lib/commons-io-1.4.jar 16 | lib/commons-lang-2.5.jar 17 | lib/commons-logging-1.1.1.jar 18 | lib/commons-validator-1.3.1.jar 19 | lib/dom4j-1.1.jar 20 | lib/icu4j-4_4_1.jar 21 | lib/javax.json-api-1.0.jar 22 | lib/javax.json-1.0.jar 23 | lib/jdom-1.0.jar 24 | lib/log4j-1.2.12.jar 25 | lib/logkit-2.0.jar 26 | lib/mail-1.4.1.jar 27 | lib/oro-2.0.8.jar 28 | lib/portlet-api-1.0.jar 29 | lib/servlet-api-2.5.jar 30 | lib/sslext-1.2-0.jar 31 | lib/stax-api-1.0.1.jar 32 | lib/struts-core-1.3.8.jar 33 | lib/struts-taglib-1.3.8.jar 34 | lib/struts-tiles-1.3.8.jar 35 | lib/unicorn-response.jar 36 | lib/unicorn-tasklist.jar 37 | lib/velocity-1.6.4.jar 38 | lib/velocity-tools-2.0.jar 39 | lib/werken-xpath-0.9.4.jar 40 | lib/xmlbeans-2.4.0.jar 41 | lib/yuicompressor-2.3.6.jar 42 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/cli/extensions.properties: -------------------------------------------------------------------------------- 1 | text/html = html 2 | application/xhtml+xml = html 3 | application/xml = xml 4 | application/svg+xml = svg 5 | application/rdf+xml = rdf 6 | 7 | text/css = css 8 | 9 | text/plain = txt 10 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/cli/mail.properties: -------------------------------------------------------------------------------- 1 | #JavaMail properties : see http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-summary.html 2 | mail.smtp.host = smtp.example.org 3 | #mail.smtp.port = 25 4 | 5 | #mail.smtp.auth = true 6 | #mail.smtp.ssl.enable = false 7 | #mail.smtp.starttls.enable = true 8 | #mail.smtp.starttls.required = true 9 | #mail.smtp.user = 10 | 11 | #Unicorn specific properties 12 | #Note that it may be not safe to set your credentials here as this information is logged (in debug mode) 13 | #unicorn.mail.username = 14 | #unicorn.mail.password = 15 | unicorn.mail.debug = false 16 | unicorn.mail.from = your.email@example.com 17 | unicorn.mail.language.to = your.email+translations@example.com -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/cli/messages.properties: -------------------------------------------------------------------------------- 1 | # Use this file to add default messages to unicorn. 2 | # Syntax is: 3 | # (messageId).level = {info|error|warning} 4 | # (messageId).message = This is the message 5 | # (messageId).content = Additional content of the message, hidden by default (optional) 6 | # 7 | #dev.level = warning 8 | #dev.message = This instance of Unicorn is a development version used for testing purposes. There is not yet any production instance of Unicorn. \ 9 | # You can test it and send us your feedback and ideas, \ 10 | # or download the source code. 11 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/cli/observers.properties: -------------------------------------------------------------------------------- 1 | css-validator = http://validator.w3.org/unicorn/contracts/css-validator.wadl 2 | markup-validator = http://validator.w3.org/unicorn/contracts/markup-validator.wadl 3 | appc-checker = http://validator.w3.org/unicorn/contracts/appc-checker-validator.wadl 4 | css1-validator = http://validator.w3.org/unicorn/contracts/css1.wadl 5 | css2-validator = http://validator.w3.org/unicorn/contracts/css2.wadl 6 | css3-validator = http://validator.w3.org/unicorn/contracts/css3.wadl 7 | css21-validator = http://validator.w3.org/unicorn/contracts/css21.wadl 8 | test = http://validator.w3.org/unicorn/contracts/test.wadl 9 | feed = http://validator.w3.org/unicorn/contracts/feed-validator.wadl 10 | http = http://validator.w3.org/unicorn/contracts/http.wadl 11 | #cssval2010 = http://qa-dev.w3.org:8008/cssval/api.wadl 12 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/cli/output.properties: -------------------------------------------------------------------------------- 1 | text.formater = SimpleOutputFormater 2 | text.mimetype = text/plain 3 | 4 | xhtml10.formater = XMLOutputFormater 5 | xhtml10.mimetype = text/html 6 | 7 | xml.formater = XMLOutputFormater 8 | xml.mimetype = application/xml -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/cli/responseImpl.properties: -------------------------------------------------------------------------------- 1 | default = org.w3c.unicorn.response.impl.DefaultResponseXBeans -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/cli/unicorn.properties: -------------------------------------------------------------------------------- 1 | # UNICORN_HOME is the path to Unicorn directory as guessed by Unicorn 2 | UNICORN_HOME=. 3 | 4 | UNICORN_PARAMETER_PREFIX = ucn_ 5 | UNICORN_PARAMETER_OUTPUT_PREFIX = opt_ 6 | 7 | DEFAULT_LANGUAGE = en 8 | #DEFAULT_FORMAT = xhtml10 9 | 10 | SHOW_LANGUAGE_UNAVAILABLE_MESSAGE = true 11 | 12 | ACCEPT_LOCAL_ADDRESSES = false 13 | 14 | DOCUMENT_CONNECT_TIMEOUT = 5000 15 | OBSERVER_CONNECT_TIMEOUT = 5000 16 | OBSERVER_READ_TIMEOUT = 0 17 | 18 | PATH_TO_LANGUAGE_FILES = ${UNICORN_HOME}/languages/ 19 | PATH_TO_TASK_LANGUAGE_FILES = ${PATH_TO_LANGUAGE_FILES}/tasks/ 20 | PATH_TO_RESOURCES = ${UNICORN_HOME}/resources/ 21 | PATH_TO_TASKLIST = ${PATH_TO_RESOURCES}/tasklist/ 22 | PATH_TO_TEMPLATES = ${PATH_TO_RESOURCES}/templates/ 23 | 24 | PATH_TO_TEMPORARY_FILES = ${UNICORN_HOME}/tmp/ 25 | 26 | UPLOADED_FILES_REPOSITORY = ${UNICORN_HOME}/tmp/ 27 | DELETE_UPLOADED_FILES = true 28 | 29 | OBSERVER_LIST_FILE = observers.properties 30 | OBSERVER_DEFAULT_FILENAME = observer.wadl 31 | 32 | # Not used when running as CLI 33 | UNICORN_URL = http://localhost/unicorn/ 34 | URL_TO_TEMPORARY_FILES = ${UNICORN_URL}/temporary_files/ 35 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/cli/velocity.properties: -------------------------------------------------------------------------------- 1 | runtime.log.logsystem.class=org.apache.velocity.runtime.log.Log4JLogChute 2 | runtime.log.logsystem.log4j.logger=org.apache.velocity 3 | input.encoding=UTF-8 4 | output.encoding=UTF-8 5 | velocimacro.library = macros_index.vm 6 | 7 | file.resource.loader.cache = true 8 | velocimacro.library.autoreload = false 9 | file.resource.loader.modificationCheckInterval = 2 10 | 11 | parser.pool.size = 20 -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/extensions.properties.default: -------------------------------------------------------------------------------- 1 | text/html = html 2 | application/xhtml+xml = html 3 | application/xml = xml 4 | application/svg+xml = svg 5 | application/rdf+xml = rdf 6 | 7 | text/css = css 8 | 9 | text/plain = txt 10 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/mail.properties.default: -------------------------------------------------------------------------------- 1 | #JavaMail properties : see http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-summary.html 2 | mail.smtp.host = smtp.example.org 3 | #mail.smtp.port = 25 4 | 5 | #mail.smtp.auth = true 6 | #mail.smtp.ssl.enable = false 7 | #mail.smtp.starttls.enable = true 8 | #mail.smtp.starttls.required = true 9 | #mail.smtp.user = 10 | 11 | #Unicorn specific properties 12 | #Note that it may be not safe to set your credentials here as this information is logged (in debug mode) 13 | #unicorn.mail.username = 14 | #unicorn.mail.password = 15 | unicorn.mail.debug = false 16 | unicorn.mail.from = your.email@example.com 17 | unicorn.mail.language.to = your.email+translations@example.com -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/messages.properties.default: -------------------------------------------------------------------------------- 1 | # Use this file to add default messages to unicorn. 2 | # Syntax is: 3 | # (messageId).level = {info|error|warning} 4 | # (messageId).message = This is the message 5 | # (messageId).content = Additional content of the message, hidden by default (optional) 6 | # 7 | #dev.level = warning 8 | #dev.message = This instance of Unicorn is a development version used for testing purposes. There is not yet any production instance of Unicorn. \ 9 | # You can test it and send us your feedback and ideas, \ 10 | # or download the source code. 11 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/observers.properties.default: -------------------------------------------------------------------------------- 1 | css-validator = https://validator.w3.org/unicorn/contracts/css-validator.wadl 2 | markup-validator = https://validator.w3.org/unicorn/contracts/markup-validator.wadl 3 | appc-checker = https://validator.w3.org/unicorn/contracts/appc-checker-validator.wadl 4 | css1-validator = https://validator.w3.org/unicorn/contracts/css1.wadl 5 | css2-validator = https://validator.w3.org/unicorn/contracts/css2.wadl 6 | css3-validator = https://validator.w3.org/unicorn/contracts/css3.wadl 7 | css21-validator = https://validator.w3.org/unicorn/contracts/css21.wadl 8 | test = https://validator.w3.org/unicorn/contracts/test.wadl 9 | feed = https://validator.w3.org/unicorn/contracts/feed-validator.wadl 10 | https = https://validator.w3.org/unicorn/contracts/http.wadl 11 | i18n = https://validator.w3.org/unicorn/contracts/i18n.wadl 12 | valnu = https://validator.w3.org/unicorn/contracts/valnu.wadl 13 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/output.properties.default: -------------------------------------------------------------------------------- 1 | text.formater = SimpleOutputFormater 2 | text.mimetype = text/plain 3 | 4 | xhtml10.formater = XMLOutputFormater 5 | xhtml10.mimetype = text/html 6 | 7 | xml.formater = XMLOutputFormater 8 | xml.mimetype = application/xml -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/responseImpl.properties.default: -------------------------------------------------------------------------------- 1 | default = org.w3c.unicorn.response.impl.DefaultResponseXBeans 2 | valnu = org.w3c.unicorn.response.impl.ValidatorNuResponse 3 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/unicorn.properties.default: -------------------------------------------------------------------------------- 1 | # UNICORN_HOME is the path to Unicorn directory as guessed by Unicorn 2 | UNICORN_URL = http://localhost:8080/unicorn/ 3 | 4 | UNICORN_PARAMETER_PREFIX = ucn_ 5 | UNICORN_PARAMETER_OUTPUT_PREFIX = opt_ 6 | 7 | DEFAULT_LANGUAGE = en 8 | DEFAULT_FORMAT = xhtml10 9 | 10 | ENABLED_MODULES = simple,mail 11 | 12 | SHOW_LANGUAGE_UNAVAILABLE_MESSAGE = true 13 | 14 | ACCEPT_LOCAL_ADDRESSES = false 15 | 16 | DOCUMENT_CONNECT_TIMEOUT = 5000 17 | OBSERVER_CONNECT_TIMEOUT = 5000 18 | OBSERVER_READ_TIMEOUT = 0 19 | 20 | PATH_TO_LANGUAGE_FILES = ${UNICORN_HOME}/WEB-INF/languages/ 21 | PATH_TO_TASK_LANGUAGE_FILES = ${PATH_TO_LANGUAGE_FILES}/tasks/ 22 | PATH_TO_RESOURCES = ${UNICORN_HOME}/WEB-INF/resources/ 23 | PATH_TO_TASKLIST = ${PATH_TO_RESOURCES}/tasklist/ 24 | PATH_TO_TEMPLATES = ${PATH_TO_RESOURCES}/templates/ 25 | 26 | PATH_TO_TEMPORARY_FILES = ${UNICORN_HOME}/temporary_files/ 27 | URL_TO_TEMPORARY_FILES = ${UNICORN_URL}/temporary_files/ 28 | 29 | UPLOADED_FILES_REPOSITORY = ${UNICORN_HOME}/WEB-INF/uploaded-files/ 30 | DELETE_UPLOADED_FILES = true 31 | 32 | OBSERVER_LIST_FILE = observers.properties 33 | OBSERVER_DEFAULT_FILENAME = observer.wadl 34 | 35 | ENABLE_TRANSLATION_CONTRIBS = true 36 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/conf/velocity.properties.default: -------------------------------------------------------------------------------- 1 | runtime.log.logsystem.class=org.apache.velocity.runtime.log.Log4JLogChute 2 | runtime.log.logsystem.log4j.logger=org.apache.velocity 3 | input.encoding=UTF-8 4 | output.encoding=UTF-8 5 | velocimacro.library = macros_index.vm 6 | 7 | file.resource.loader.cache = true 8 | velocimacro.library.autoreload = false 9 | file.resource.loader.modificationCheckInterval = 2 10 | 11 | parser.pool.size = 20 -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/ar.properties: -------------------------------------------------------------------------------- 1 | #Submitted by Hassan Mohamad 2 | #Fri Sep 10 18:05:34 UTC 2010 3 | anchor_message=وصلة مباشرة لهذه الرسالة 4 | anchor_observation=وصلة مباشرة لهذه النتائج 5 | anchor_uri=وصلة URI مباشرة 6 | column_token=عمود\: 7 | contexts_show=%1 المزيد... 8 | direct_link_label=وصلة مباشرة 9 | documentation=الوثائق 10 | donation_program=المتبرعين المعتمدين للبرنامج 11 | download=تحميل 12 | download_title=تحميل مصدر هذه الصفحة 13 | error_label=الأخطاء 14 | feedback=ردود الفعل 15 | file_token=ملف\: 16 | info_label=تعليمات 17 | line_token=سطر\: 18 | local_file_label=ملف محلي\: 19 | location=الموقع 20 | message_empty_uploaded_file=الملف الذي تم تحميله فارغ. 21 | message_mail=يتم إرسال التقارير إلى\: %1. 22 | message_mail_date=التحقق من تنفيذ الـ %1. 23 | message_missing_email=لم تختر البريد الإلكتروني. 24 | message_no_observation_done=لا توجد نتائج لعرضها. 25 | message_no_task=المهمة غير محددة. سوف تستخدم Unicorn مهمتها الإفتراضية "%1". 26 | message_no_uploaded_file=يجب تحميل ملف. 27 | message_unknown_host=مضيف غير معروف\: %1. 28 | result_for=النتيجة %1 29 | select-a-task=حدد المهمة 30 | simple_options=خصائص 31 | submit=تحقق 32 | submitted_file=الوثيقة المقدمة 33 | task_label=المهمة\: 34 | test_undef=نتائج الإختبارات %1 35 | translations=ترجمات 36 | translations_title=مساعدة في ترجمة Unicorn 37 | unicorn_title=W3C's أداة التحقق من الصحة 38 | uri_label=العنوان\: 39 | uri_title=تحقق من صحة عنوان الصفحة 40 | uri_token=URI\: 41 | validate-by-input=عن طريق إدخال مباشر 42 | validate-by-upload=عن طريق رفع ملف 43 | validate-by-uri=بواسطة URI 44 | warning_label=التحذيرات 45 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/el.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Spyridon Lazarou 2 | #Thu Feb 28 17:01:33 UTC 2013 3 | column_token=Στήλη 4 | context_token=Περιεχόμενο 5 | file_token=Αρχείο 6 | info_label=Πληροφορίες 7 | instruction-by-uri=Εισάγετε την διαδρομή URI του εγγράφου που θέλετε να ελέγχθεί 8 | legend-by-input=Επικύρωση με άμεση εισαγωγή 9 | legend-by-upload=Επικύρωση με ανέβασμα αρχείου 10 | legend-by-uri=Επικύρωση με διαδρομή URI 11 | options=Επιλογές 12 | select-a-task=Επιλέξτε εργασία 13 | simple_options=Επιλογές 14 | task_label=Εργασία 15 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/fa.properties: -------------------------------------------------------------------------------- 1 | #Last submission by KaVeH 2 | #Sat Oct 13 21:35:10 UTC 2012 3 | anchor_message=پیوند مستقیم به این پیام 4 | anchor_observation=پیوند مستقیم به این نتایج 5 | anchor_uri=پیوند مستقیم به این نشانی اینترنتی 6 | column_token=ستون\: 7 | contexts_show=1% بیشتر ... 8 | direct_link_label=پیوند مستقیم 9 | direct_link_title_1=این سند را در وب سایت بررسی کننده بازبینی کن 10 | direct_link_title_2=پیوند به وب سایت بررسی کننده 11 | documentation=مستندات 12 | documentation_title=مستندات مربوط به این سرویس و نرم افزار وابسته 13 | donation_program=برنامه اهدای کمک به بررسی کننده ها 14 | download=بارگذاری 15 | download_title=کد منبع این سرویس را بارگیری کن 16 | error_label=خطاها 17 | extra_options=گزینه های پیشرفته 18 | feedback=بازخورد 19 | feedback_title=اندیشه ها و گزارش های اشکال را به لیست همگانی گسترش دهنذگان بفرست 20 | file_token=فایل\: 21 | info_label=اطلاعات 22 | instruction-by-input=سندی را که می خواهید بررسی شود وارد کنید 23 | instruction-by-upload=سندی را که می خواهید بررسی شود برگزینید 24 | instruction-by-uri=URI سندی را که می خواهید بررسی شود وارد کنید 25 | legend-by-input=معتبر ساختن با ورودی مستقیم 26 | legend-by-upload=معتبر ساختن با بارگذاری فایل 27 | legend-by-uri=معتبر ساختن با آدرس اینترنتی 28 | line_token=خط\: 29 | local_file_label=فایل محلی\: 30 | location=موقعیت 31 | message_connect_exception=URI ارائه شده ی شما دست نیافتنی به نظر میرسد.آن را تأیید و دوباره تلاش کنید . 32 | message_document_not_found=سند مشخص شده وجود ندارد 33 | message_empty_direct_input=شما باید یک سند را برای چک نمودن وارد کنید. 34 | message_empty_uploaded_file=فایل بارگذاری شده خالی است. 35 | message_empty_uri=شما باید یک آدرس اینترنتی را برای چک نمودن وارد کنید. 36 | message_incomplete_language=این ترجمه ناقص است.${message_translation} 37 | message_input_changed="%1" روش ورودی %2 را پشتیبانی نمی کند . Unicorn به طور خودکار درخواست را سازگار کرد ، اما ممکن است که نتایج این بررسی نادرست باشد. 38 | message_missing_email=هیچ آدرس پست الکترونیکی مشخص نشده است. 39 | message_no_observation_done=هیچ نتیجه ای برای نمایش وجود ندارد. 40 | message_no_uploaded_file=شما باید یک فایل را بارگذاری نمائید. 41 | result_for=نتیجه برای 1% 42 | result_for_upload=نتایج ارائه شده سند توسط شما 43 | select-a-task=انتخاب یک وظیفه 44 | simple_options=گزینه ها 45 | submit=چک 46 | submit_title=یک فایل را برای معتبرسازی ارسال کنید 47 | submitted_file=سند ارائه شده 48 | task_label=وظیفه\: 49 | translations=ترجمه ها 50 | translations_title=به ما برای ترجمه ی Unicorn کمک کنید 51 | uri_label=آدرس\: 52 | uri_title=آدرس از صفحه برای معتبرسازی 53 | uri_token=آدرس اینترنتی\: 54 | validate-by-input=با ورودی مستقیم 55 | validate-by-upload=با بارگذاری فایل 56 | validate-by-uri=با آدرس اینترنتی 57 | warning_label=هشدارها -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/hi.properties: -------------------------------------------------------------------------------- 1 | #Submitted by Dirje Welry 2 | #Fri Aug 20 08:55:30 UTC 2010 3 | anchor_message=इस संदेश के लिए प्रत्यक्ष लिंक 4 | anchor_observation=इन परिणामों के लिए प्रत्यक्ष लिंक 5 | anchor_uri=इस यूआरआइ के लिए प्रत्यक्ष लिंक 6 | column_token=कॉलम\: 7 | context_token=प्रसंग\: 8 | contexts_hide=गुना संदर्भों 9 | contexts_show=1% अधिक ... 10 | direct_link_label=प्रत्यक्ष लिंक 11 | direct_link_title_1=इस दस्तावेज़ को मान्यकर्ण वेबसाइट पर पुन्नेह\: मान्यकृत करें 12 | direct_link_title_2=इस मान्यकर्ण वेबसाइट का लिंक 13 | documentation=दस्तावेज़ीकरण 14 | documentation_title=इस सेवा के बारे दस्तावेज़ीकरण और इसके पीछे का सॉफ्टवेयर 15 | donation_program=मान्यकर्ण दान कार्यक्रम 16 | download=डाउनलोड 17 | download_title=इस सेवा के स्रोत को डाउनलोड करें 18 | error_label=त्रुटियाँ 19 | extra_options=उन्नत विकल्प 20 | feedback=प्रतिक्रिया 21 | feedback_title=हमें अपने विचारों और बग की रिपोर्ट, सार्वजनिक विकास मेलिंग सूची पर भेजें 22 | file_token=फाईल\: 23 | info_label=जानकारी 24 | instruction-by-input=जिस दस्तावेज़ की आप जाँच करना चाहते हैं उसे दर्ज करें 25 | instruction-by-upload=जिस दस्तावेज़ की आप जाँच करना चाहते हैं उसे चुनें 26 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/rm.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Ionut Gaman 2 | #Sat Sep 25 10:28:23 UTC 2010 3 | anchor_message=Mesaj ancora 4 | anchor_observation=Observatie ancora 5 | anchor_uri=URI ancora 6 | contexts_hide=Ascunde continut 7 | contexts_show=Arata continut 8 | direct_link_title_1=Titlu link direct 9 | documentation=Documentatie 10 | documentation_title=Titlu documentatie 11 | donation_program=Program donare 12 | download=Descarca 13 | download_title=Titlu descarca 14 | extra_options=Optiuni extra 15 | feedback=Feedback 16 | feedback_title=Titlu feedback 17 | location=Localizare 18 | message_mail=e-mail mesaj 19 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/ar.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Submitted by Hassan Mohamad 2 | #Fri Sep 10 18:05:34 UTC 2010 3 | conformance=التحقق من التوافق التام 4 | conformance.description=ينفذ أكبر عدد من الإختبارات. 5 | custom=المهمة المخصصة 6 | custom.param.warning=مستوى تحذير الانماط الإنسيابية 7 | feed=مدقق التغذية 8 | param.profile.mobile=موبايل (الهاتف النقال) 9 | param.profile.svg=شعار (SVG) 10 | param.profile.tv=التلفزيون الشخصي 11 | param.tests=إختبارات\: 12 | param.tests.css-validator=الانماط الإنسيابية (CSS) 13 | param.tests.markup-validator=(X)HTML 14 | param.usermedium.all=الكل (all) 15 | param.usermedium.print=طباعة (print) 16 | param.usermedium.tv=تلفاز (tv) 17 | param.warning=التحذيرات\: 18 | param.warning.2=الكل 19 | param.warning.no=لا يوجد تحذيرات -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/bg.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Nikolay Gramatikov 2 | #Mon Nov 08 17:27:12 UTC 2010 3 | conformance.description=Извършва възможно най-много проверки 4 | custom.description=Изберете опции за проверка. 5 | custom.param.usermedium=CSS User Medium\: 6 | custom.param.warning=CSS Warning Level\: 7 | feed=Feed Validator 8 | feed.description=Проверка на Atom или RSS фийд. 9 | full-css.description=Проверка на CSS 1, CSS 2, CSS 2.1 и CSS 3 10 | param.charset=Charset: 11 | param.doctype=Doctype: 12 | param.profile=CSS профил\: 13 | param.profile.atsc-tv=ATSC TV Profile 14 | param.profile.css1=CSS Level 1 15 | param.profile.css2=CSS Level 2 16 | param.profile.css21=CSS Level 2.1 17 | param.profile.css3=CSS Level 3 18 | param.profile.mobile=Mobile 19 | param.profile.svg=SVG 20 | param.profile.svgbasic=SVG Basic 21 | param.profile.svgtiny=SVG Tiny 22 | param.profile.tv=TV профил 23 | param.tests=Тестове\: 24 | param.tests.appc-checker=XHTML - Appendix C 25 | param.tests.css-validator=CSS 26 | param.tests.feed=RSS/Atom 27 | param.tests.markup-validator=(X)HTML 28 | param.usermedium.all=Всички (всички) 29 | param.usermedium.print=Print (print) 30 | param.usermedium.screen=Screen (screen) 31 | param.usermedium.tty=TTY (tty) 32 | param.usermedium.tv=TV (tv) 33 | param.warning=Предупреждения\: 34 | param.warning.0=Най-важното 35 | param.warning.1=Нормален доклад 36 | param.warning.2=Всички 37 | param.warning.no=Без предупреждения 38 | test=Тестова задача 39 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/buccaneer.tasklist.properties: -------------------------------------------------------------------------------- 1 | conformance=General Conformance Check 2 | conformance.description=Performs as many checks as possible. 3 | http=HTTP Checker 4 | feed=Feed Validator 5 | feed.description=Checks th' syntax o' Atom or RSS feeds 6 | test=Test task 7 | test.description=This task allows developers t' test the'r Unicorn output. Submit a Unicorn response file an' watch th' result. 8 | full-css=CSS Profile Validation 9 | full-css.description=Checks validity against CSS 1, CSS 2, CSS 2.1 an' CSS 3 profiles 10 | custom=Custom task 11 | custom.description=Lets ye choose which checks t' perform 12 | custom.param.usermedium=CSS User Medium: 13 | custom.param.warning=CSS Warnin' Level: 14 | param.tests=Tests: 15 | param.tests.css-validator=CSS 16 | param.tests.appc-checker=XHTML - Appendix C 17 | param.tests.markup-validator=(X)HTML 18 | param.tests.feed=RSS/Atom 19 | param.tests.http=HTTP Headers 20 | param.warning=Warnings: 21 | param.warning.no=Nay warnings 22 | param.warning.0=Most important 23 | param.warning.1=Normal report 24 | param.warning.2=All 25 | param.charset=Charset: 26 | param.doctype=Doctype: 27 | param.profile=CSS Profile: 28 | param.profile.css1=CSS Level 1 29 | param.profile.css2=CSS Level 2 30 | param.profile.css21=CSS Level 2.1 31 | param.profile.css3=CSS Level 3 32 | param.profile.svg=SVG 33 | param.profile.svgbasic=SVG Basic 34 | param.profile.svgtiny=SVG Wee 35 | param.profile.mobile=Mobile 36 | param.profile.atsc-tv=ATSC TV Profile 37 | param.profile.tv=TV Profile 38 | param.usermedium=User Medium: 39 | param.usermedium.all=All (all) 40 | param.usermedium.aural=Aural (aural) 41 | param.usermedium.braille=Braille (braille) 42 | param.usermedium.embossed=Embossed (embossed) 43 | param.usermedium.handheld=Handheld (handheld) 44 | param.usermedium.presentation=Presentation (presentation) 45 | param.usermedium.print=Print (print) 46 | param.usermedium.projection=Projection (projection) 47 | param.usermedium.screen=Screen (screen) 48 | param.usermedium.tty=TTY (tty) 49 | param.usermedium.tv=TV (tv) 50 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/ca.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Marc 2 | #Tue Jun 05 09:16:47 UTC 2012 3 | conformance=Comprovació general de comformitat 4 | conformance.description=Realitza tantes comprovacions com sigui possible. 5 | custom=Tasca personalitzada 6 | custom.description=Us permet triar quines comprovacions es realitzaran 7 | custom.param.usermedium=Medi CSS de l'usuari\: 8 | custom.param.warning=Nivell d'avisos del CSS\: 9 | feed=Validador de canals 10 | feed.description=Comprova la sintaxis dels canals Atom i RSS. 11 | full-css=Validació de perfil CSS 12 | full-css.description=Comprova la validesa dels perfils CSS 1, CSS 2, CSS 2.1 i CSS 3. 13 | i18n=Validador d'Internacionalització 14 | i18n.description=Proporciona informació sobre temes relacionats amb la internacionalització a la teva pàgina HTML. 15 | param.charset=Charset\: 16 | param.doctype=Doctype\: 17 | param.profile=Perfil CSS\: 18 | param.profile.atsc-tv=Perfil ATSC TV 19 | param.profile.css1=CSS Nivell 1 20 | param.profile.css2=CSS Nivell 2 21 | param.profile.css21=CSS Nivell 2.1 22 | param.profile.css3=CSS Nivell 3 23 | param.profile.mobile=Mòbil 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG Bàsic 26 | param.profile.svgtiny=SVG Tiny 27 | param.profile.tv=Perfil TV 28 | param.tests=Proves\: 29 | param.tests.appc-checker=XHTML - Apèndix C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Medi de l'usuari\: 34 | param.usermedium.all=Tots (all) 35 | param.usermedium.aural=Auditiu (aural) 36 | param.usermedium.braille=Braille (braille) 37 | param.usermedium.embossed=Relleu (embossed) 38 | param.usermedium.handheld=Petits dispositius (handheld) 39 | param.usermedium.presentation=Presentació (presentation) 40 | param.usermedium.print=Impressió (print) 41 | param.usermedium.projection=Projecció (projection) 42 | param.usermedium.screen=Pantalla (screen) 43 | param.usermedium.tty=TTY (tty) 44 | param.usermedium.tv=TV (tv) 45 | param.warning=Avisos\: 46 | param.warning.0=Els més importants 47 | param.warning.1=Informe normal 48 | param.warning.2=Tots 49 | param.warning.no=Sense avisos 50 | test=Tasca de prova 51 | test.description=Aquesta tasca permet als desenvolupadors validar la sortida de l'Unicorn. Envieu un fitxer de resposta de l'Unicorn i reviseu-ne el resultat. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/cs.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Tomá\u0161 Male\u010Dek 2 | #Tue Aug 23 00:25:40 UTC 2011 3 | conformance=Kontola obecné shody 4 | conformance.description=Provede tolik kontrol, kolik je možné. 5 | custom=Vlastní úloha 6 | custom.description=Umožní zvolit, které jaké kontroly provést 7 | custom.param.usermedium=Uživatelské médium CSS\: 8 | custom.param.warning=Úroveň varování CSS\: 9 | feed=Kontrola správnosti kanálu 10 | feed.description=Zkontroluje syntaxi Atom nebo RSS kanálů 11 | full-css=Kontrola správnosti CSS 12 | full-css.description=Kontroluje správnost vzhledem k profilům CSS 1, CSS 2, CSS 2.1 a CSS 3 13 | i18n=Kontrola internacionalizace 14 | i18n.description=Poskytuje informace o aspektech vaší HTML stránky, které se týkají internacionalizacionalizace 15 | param.charset=Znaková sada\: 16 | param.doctype=Doctype\: 17 | param.profile=Profil CSS\: 18 | param.profile.atsc-tv=Profil ATSC TV 19 | param.profile.css1=CSS 1 20 | param.profile.css2=CSS 2 21 | param.profile.css21=CSS 2.1 22 | param.profile.css3=CSS 3 23 | param.profile.mobile=Mobilní 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG Basic 26 | param.profile.svgtiny=SVG Tiny 27 | param.profile.tv=Profil TV 28 | param.tests=Testy\: 29 | param.tests.appc-checker=XHTML - Appendix C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Uživatelské médium\: 34 | param.usermedium.all=Vše (vše) 35 | param.usermedium.aural=Zvukový výstup (aural) 36 | param.usermedium.braille=Čtečky braillova písma (braille) 37 | param.usermedium.embossed=Tiskárny braillova písma (embossed) 38 | param.usermedium.handheld=Přiruční počítač (handheld) 39 | param.usermedium.presentation=Prezentace (presentation) 40 | param.usermedium.print=Tisk (print) 41 | param.usermedium.projection=Projekce (projection) 42 | param.usermedium.screen=Obrazovka (screen) 43 | param.usermedium.tty=Terminály (tty) 44 | param.usermedium.tv=TV (tv) 45 | param.warning=Varování\: 46 | param.warning.0=Nejdůležitější 47 | param.warning.1=Normální výpis 48 | param.warning.2=Vše 49 | param.warning.no=Bez varování 50 | test=Testovací úloha 51 | test.description=Tato úloha umožňuje vývojářům otestovat výstup z Unicornu. Odešlete soubor s odpovědí Unicornu a sledujte výsledek. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/da.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Allan Kimmer Jensen 2 | #Wed Sep 12 10:52:38 UTC 2012 3 | conformance=General Overensstemmelse Check 4 | conformance.description=Udfører så mange kontroller som muligt. 5 | custom=Brugerdefineret opgave 6 | custom.description=Lader dig vælge, hvilke kontrollerer der skal udføres 7 | full-css=CSS Profil Validering 8 | param.charset=Charset\: 9 | param.doctype=Doctype\: 10 | param.profile=CSS profil\: 11 | param.profile.css1=CSS Level 1 12 | param.profile.css2=CSS Level 2 13 | param.profile.css21=CSS Level 2.1 14 | param.profile.css3=CSS Level 3 15 | param.profile.mobile=Mobil 16 | param.profile.svg=SVG 17 | param.profile.svgbasic=Simpel SVG 18 | param.profile.svgtiny=Ultra-simpel SVG 19 | param.profile.tv=TV Profil 20 | param.tests=Tests\: 21 | param.tests.css-validator=CSS 22 | param.tests.feed=RSS/Atom 23 | param.tests.markup-validator=(X)HTML 24 | param.usermedium=Brugermedium\: 25 | param.usermedium.all=Alle (alle) 26 | param.usermedium.braille=Braille (braille) 27 | param.usermedium.handheld=Håndholdt (håndholdt) 28 | param.usermedium.presentation=Præsentation (præsentation) 29 | param.usermedium.print=Tryk (tryk) 30 | param.usermedium.screen=Skærm (screen) 31 | param.usermedium.tty=TTY (tty) 32 | param.usermedium.tv=TV (tv) 33 | param.warning=Advarsler\: 34 | param.warning.0=Vigtigste 35 | param.warning.1=Normal rapport 36 | param.warning.2=Alle 37 | param.warning.no=Ingen advarsler 38 | test=Testopgave 39 | test.description=Denne opgave giver udviklere mulighed for at teste deres Unicorn output. Indsend en Unicorn svarfil og se resultatet. 40 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/de.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Ruhland Matthias 2 | #Thu Oct 10 05:30:21 UTC 2013 3 | conformance=Allgemeine Konformitätsprüfung 4 | conformance.description=Führt so viele Überprüfungen wie möglich aus. 5 | custom=Benutzerdefinierte Überprüfungen 6 | custom.description=Ermöglicht die Auswahl der auszuführenden Überprüfungen 7 | custom.param.usermedium=CSS-Benutzermedium\: 8 | custom.param.warning=CSS-Warnstufe\: 9 | feed=Feed-Validierung 10 | feed.description=Überprüft die Syntax des Atom- oder RSS-Feeds 11 | full-css=Validierung von CSS-Profilen 12 | full-css.description=Überprüft die Validierung gegen die CSS-Profile CSS 1, CSS 2, CSS 2.1 und CSS 3 13 | http=HTTP Checker 14 | i18n=Internationalisierungs-Prüfer 15 | i18n.description=Macht Angaben über Internationalisierungs bezogene Aspekte deiner HTML-Seite 16 | param.charset=Charset\: 17 | param.doctype=Doctype\: 18 | param.profile=CSS-Profil\: 19 | param.profile.atsc-tv=ATSC TV-Profil 20 | param.profile.css1=CSS Level 1 21 | param.profile.css2=CSS Level 2 22 | param.profile.css21=CSS Level 2.1 23 | param.profile.css3=CSS Level 3 24 | param.profile.mobile=Profil für mobile Endgeräte 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=SVG Basic 27 | param.profile.svgtiny=SVG Tiny 28 | param.profile.tv=Profil für TV-Geräte 29 | param.tests=Tests\: 30 | param.tests.appc-checker=XHTML – Anhang C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=HTTP Headers 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=Benutzermedium\: 36 | param.usermedium.all=Alle (all) 37 | param.usermedium.aural=Hörend (aural) 38 | param.usermedium.braille=Braille (braille) 39 | param.usermedium.embossed=Geprägt (embossed) 40 | param.usermedium.handheld=Mobiles Gerät (Handheld) 41 | param.usermedium.presentation=Präsentation (presentation) 42 | param.usermedium.print=Druck (print) 43 | param.usermedium.projection=Projektion (projection) 44 | param.usermedium.screen=Bildschirm (screen) 45 | param.usermedium.tty=TTY-Schnittstelle (tty) 46 | param.usermedium.tv=Fernsehen (tv) 47 | param.warning=Warnungen\: 48 | param.warning.0=Wichtigste 49 | param.warning.1=Standardbericht 50 | param.warning.2=Alle 51 | param.warning.no=Keine Warnungen 52 | test=Probedurchlauf 53 | test.description=Dieser Durchlauf erlaubt Entwicklern, ihre Unicorn-Ausgabe zu überprüfen. Übermittle deine Unicorn Antwort-Datei und verfolge das Ergebnis. 54 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/en.tasklist.properties: -------------------------------------------------------------------------------- 1 | conformance=General Conformance Check 2 | conformance.description=Performs as many checks as possible. 3 | 4 | unicorn=Unicorn recursive (test) 5 | 6 | http=HTTP Checker 7 | 8 | i18n=Internationalization Checker 9 | i18n.description=Provides information about internationalization-related aspects of your HTML page. 10 | 11 | feed=Feed Validator 12 | feed.description=Checks the syntax of Atom or RSS feeds 13 | 14 | test=Test task 15 | test.description=This task allows developers to test their Unicorn output. Submit a Unicorn response file and watch the result. 16 | 17 | full-css=CSS Profile Validation 18 | full-css.description=Checks validity against CSS 1, CSS 2, CSS 2.1 and CSS 3 profiles 19 | 20 | custom=Custom task 21 | custom.description=Lets you choose which checks to perform 22 | custom.param.usermedium=CSS User Medium: 23 | custom.param.warning=CSS Warning Level: 24 | 25 | param.charset=Charset: 26 | param.doctype=Doctype: 27 | 28 | param.tests=Tests: 29 | param.tests.css-validator=CSS 30 | param.tests.appc-checker=XHTML - Appendix C 31 | param.tests.markup-validator=(X)HTML 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=HTTP Headers 34 | param.tests.valnu=Nu Html Checker 35 | 36 | param.warning=Warnings: 37 | param.warning.no=No warnings 38 | param.warning.0=Most important 39 | param.warning.1=Normal report 40 | param.warning.2=All 41 | 42 | param.charset=Charset: 43 | param.doctype=Doctype: 44 | param.profile=CSS Profile: 45 | param.profile.css1=CSS Level 1 46 | param.profile.css2=CSS Level 2 47 | param.profile.css21=CSS Level 2.1 48 | param.profile.css3=CSS Level 3 49 | param.profile.svg=SVG 50 | param.profile.svgbasic=SVG Basic 51 | param.profile.svgtiny=SVG Tiny 52 | param.profile.mobile=Mobile 53 | param.profile.atsc-tv=ATSC TV Profile 54 | param.profile.tv=TV Profile 55 | 56 | param.usermedium=User Medium: 57 | param.usermedium.all=All (all) 58 | param.usermedium.aural=Aural (aural) 59 | param.usermedium.braille=Braille (braille) 60 | param.usermedium.embossed=Embossed (embossed) 61 | param.usermedium.handheld=Handheld (handheld) 62 | param.usermedium.presentation=Presentation (presentation) 63 | param.usermedium.print=Print (print) 64 | param.usermedium.projection=Projection (projection) 65 | param.usermedium.screen=Screen (screen) 66 | param.usermedium.tty=TTY (tty) 67 | param.usermedium.tv=TV (tv) 68 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/eo.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Lucas Larson 2 | #Mon Feb 20 19:45:21 UTC 2012 3 | conformance=Kontrolo de ĝenerala kongrueco 4 | conformance.description=Plenumigas la plej eblan kvanton de kontroloj. 5 | custom=Propra tasko 6 | custom.description=Permesas, ke vi elektu la kontrolojn, kiujn ĝi plenumos 7 | custom.param.usermedium=CSS-medio\: 8 | custom.param.warning=CSS-averta nivelo\: 9 | feed=Validigilo de fluoj 10 | feed.description=Kontroli la sintakson de Atom- aŭ RSS-fluoj 11 | full-css=Validigado de CSS-profilo 12 | full-css.description=Kontrolas la validecon laŭ niveloj 1, 2, 2.1 kaj 3 de CSS 13 | i18n=Kontrolado de internacieco 14 | i18n.description=Donas informojn pri flankoj en via HTML-paĝo rilataj al internaciigo. 15 | param.charset=Signaro\: 16 | param.doctype=Dokumenttipo\: 17 | param.profile=CSS-profilo\: 18 | param.profile.atsc-tv=Televida normo ATSC 19 | param.profile.css1=CSS Nivelo 1 20 | param.profile.css2=CSS Nivelo 2 21 | param.profile.css21=CSS Nivelo 2.1 22 | param.profile.css3=CSS Nivelo 3 23 | param.profile.mobile=Poŝtelefona 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG-baza 26 | param.profile.svgtiny=SVG-malgrandega 27 | param.profile.tv=Televidilo 28 | param.tests=Testoj\: 29 | param.tests.appc-checker=XHTML, aldonaĵo C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Uzanto-medio\: 34 | param.usermedium.all=Ĉiuj (all) 35 | param.usermedium.aural=Aŭda (aural) 36 | param.usermedium.braille=Brajlo (braille) 37 | param.usermedium.embossed=Cizelita (embossed) 38 | param.usermedium.handheld=Enmana aparato (handheld) 39 | param.usermedium.presentation=Prezentaĵo (presentation) 40 | param.usermedium.print=Presaĵo (print) 41 | param.usermedium.projection=Projekcio (projection) 42 | param.usermedium.screen=Ekrano (screen) 43 | param.usermedium.tty=Konzolo (tty) 44 | param.usermedium.tv=Televidilo (tv) 45 | param.warning=Avertoj\: 46 | param.warning.0=Plej grava 47 | param.warning.1=Normala raporto 48 | param.warning.2=Ĉiuj 49 | param.warning.no=Neniu averto 50 | test=Prova tasko 51 | test.description=La tasko permesas, ke disvolvantoj provu siajn Unicorn-eligon. Sendu respondo-dosieron de Unicorn kaj rigardu la rezultojn. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/es.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Miguel Carro 2 | #Thu Oct 10 08:58:27 UTC 2013 3 | conformance=Comprobación General de Conformidad 4 | conformance.description=Realiza todos los tests posibles. 5 | custom=Tarea personalizada 6 | custom.description=Le permite elegir qué comprobaciones realizar 7 | custom.param.usermedium=Medio del CSS\: 8 | custom.param.warning=Grado de Advertencia\: 9 | feed=Validador de feeds 10 | feed.description=Comprueba la sintaxis de los feeds Atom y RSS 11 | full-css=Validación de Perfil CSS 12 | full-css.description=Verifica la validez de los perfiles CSS 1, CSS 2, CSS 2.1 y CSS 3 13 | http=Verificador HTTP 14 | i18n=Comprobador de internacionalización 15 | i18n.description=Proporciona información sobre aspectos relacionados con la internacionalización de su página HTML 16 | param.charset=Charset\: 17 | param.doctype=Doctype\: 18 | param.profile=Perfil de CSS\: 19 | param.profile.atsc-tv=Perfil ATSC TV 20 | param.profile.css1=CSS nivel 1 21 | param.profile.css2=CSS nivel 2 22 | param.profile.css21=CSS nivel 2.1 23 | param.profile.css3=CSS nivel 3 24 | param.profile.mobile=Móvil 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=SVG Basico 27 | param.profile.svgtiny=SVG Pequeño 28 | param.profile.tv=Perfil TV 29 | param.tests=Pruebas\: 30 | param.tests.appc-checker=XHTML - Apéndice C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=Cabeceras HTTP 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=Medio del usuario\: 36 | param.usermedium.all=Todos (all) 37 | param.usermedium.aural=Auditivo (aural) 38 | param.usermedium.braille=Braille (braille) 39 | param.usermedium.embossed=Relieve (embossed) 40 | param.usermedium.handheld=Pequeños dispositivos (handheld) 41 | param.usermedium.presentation=Presentación (presentation) 42 | param.usermedium.print=Impresión (print) 43 | param.usermedium.projection=Proyección (projection) 44 | param.usermedium.screen=Pantalla (screen) 45 | param.usermedium.tty=Teletipo (tty) 46 | param.usermedium.tv=Televisión (tv) 47 | param.warning=Advertencias\: 48 | param.warning.0=Las más importantes 49 | param.warning.1=Informe normal 50 | param.warning.2=Todas 51 | param.warning.no=Sin advertencias 52 | test=Tarea de prueba 53 | test.description=Esta tarea permite a los desarrolladores probar la información de respuesta de Unicorn. Envíe un fichero de salida de Unicorn y compruebe el resultado. 54 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/et.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Submitted by Hannes Kiivet 2 | #Mon Aug 02 17:21:22 UTC 2010 3 | conformance=Üldine vastavuskontroll 4 | conformance.description=Teostab nii palju kontrolle kui võimalik. 5 | custom=Eriülesanne 6 | custom.description=Laseb sul valida, mis kontrolle teostada 7 | custom.param.usermedium=CSS kasutaja keskkond\: 8 | custom.param.warning=CSSi hoiatustase\: 9 | feed=Feed-i kontrollija 10 | feed.description=Kontrollib Atom või RSS feed-i süntaksit 11 | full-css=CSSi profiili kontroll 12 | full-css.description=Kontrollib CSS 1, CSS 2, CSS 2.1 ja CSS 3 profiili vastu 13 | param.charset=Charset: 14 | param.doctype=Doctype: 15 | param.profile=CSSi profiil\: 16 | param.profile.atsc-tv=ATSC TV profiil 17 | param.profile.css1=CSS tase 1 18 | param.profile.css2=CSS tase 2 19 | param.profile.css21=CSS tase 2.1 20 | param.profile.css3=CSS tase 3 21 | param.profile.mobile=Mobiil 22 | param.profile.svg=SVG 23 | param.profile.svgbasic=baas-SVG 24 | param.profile.svgtiny=pisi-SVG 25 | param.profile.tv=TV-profiil 26 | param.tests=Kontrollid\: 27 | param.tests.appc-checker=XHTML - Lisa C 28 | param.tests.css-validator=CSS 29 | param.tests.feed=RSS/Atom 30 | param.tests.markup-validator=(X)HTML 31 | param.usermedium=Kasutaja keskkond\: 32 | param.usermedium.all=Kõik (all) 33 | param.usermedium.aural=Kuulmise (aural) 34 | param.usermedium.braille=Pimedate kiri (braille) 35 | param.usermedium.embossed=Kohrutatud (embossed) 36 | param.usermedium.handheld=Käsiseadme (handheld) 37 | param.usermedium.presentation=Esitluse (presentation) 38 | param.usermedium.print=Trüki (print) 39 | param.usermedium.projection=Projektsiooni (projection) 40 | param.usermedium.screen=Ekraani (screen) 41 | param.usermedium.tty=Terminali (tty) 42 | param.usermedium.tv=Televiisori (tv) 43 | param.warning=Hoiatused\: 44 | param.warning.0=Eriti tähtis 45 | param.warning.1=Tavaaruanne 46 | param.warning.2=Kõik 47 | param.warning.no=Pole ühtegi hoiatust 48 | test=Testülesanne 49 | test.description=See tööülesanne võimaldab arendajatel testida nende Unicorni väljundit. Sisesta Unicorni vastusfail ja vaata tulemust. 50 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/fa.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Submitted by Parham 2 | #Fri Jun 04 10:58:40 UTC 2010 3 | conformance=بررسی تطابق عمومی 4 | custom=وظیفه ی سفارشی 5 | custom.param.warning=هشدار CSS سطح\: 6 | param.charset=Charset: 7 | param.doctype=Doctype: 8 | param.profile=مشخصات CSS 9 | param.profile.css1=CSS سطح 1 10 | param.profile.css2=CSS سطح 2 11 | param.profile.css21=CSS سطح 2.1 12 | param.profile.css3=CSS سطح 3 13 | param.profile.mobile=تلفن همراه 14 | param.profile.svg=SVG 15 | param.tests=تست ها\: 16 | param.tests.css-validator=سی اس اس 17 | param.tests.feed=RSS/Atom 18 | param.tests.markup-validator=( اکس) اچ تی ام ال 19 | param.usermedium.all=همه 20 | param.usermedium.braille=بریل 21 | param.usermedium.presentation=ارائه 22 | param.usermedium.print=چاپ 23 | param.usermedium.screen=صفحه نمایش 24 | param.usermedium.tty=TTY 25 | param.usermedium.tv=تلویزیون 26 | param.warning=هشدارها\: 27 | param.warning.1=گزارش عادی 28 | param.warning.2=همه 29 | param.warning.no=بدون هشدار 30 | test=تست وظیفه 31 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/fi.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Olli Petri Koponen 2 | #Thu Oct 17 22:37:06 UTC 2013 3 | conformance=Yleinen vaatimustenmukaisuustesti 4 | conformance.description=Suorittaa niin monta testiä kuin mahdollista. 5 | custom=Mukautettu testi 6 | custom.description=Voit valita suoritettavat testit 7 | custom.param.usermedium=CSS käyttäjän media\: 8 | custom.param.warning=CSS-varoitustaso\: 9 | feed=Syötevalidaattori 10 | feed.description=Tarkistaa Atom- ja RSS-syötteiden kieliasun 11 | full-css=CSS 1-3 -validointi 12 | full-css.description=Tarkistaa oikeellisuuden CSS 1, 2, 2.1 ja 3 -profiileihin nähden. 13 | http=HTTP Tarkastaja 14 | i18n=Kansainvälistymisen tarkistaja 15 | i18n.description=Tarjoaa tietoa kansainvälistymiseen liittyvistä HTML-sivusi näkökohdista. 16 | param.charset=Charset\: 17 | param.doctype=Doctype\: 18 | param.profile=CSS-profiili\: 19 | param.profile.atsc-tv=ATCS TV-profiili 20 | param.profile.css1=CSS taso 1 21 | param.profile.css2=CSS taso 2 22 | param.profile.css21=CSS taso 2.1 23 | param.profile.css3=CSS taso 3 24 | param.profile.mobile=Mobiili 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=SVG Basic 27 | param.profile.svgtiny=SVG Tiny 28 | param.profile.tv=TV-profiili 29 | param.tests=Testit\: 30 | param.tests.appc-checker=XHTML - Appendix C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=HTTP Otsakkeet 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=Media\: 36 | param.usermedium.all=Kaikki (all) 37 | param.usermedium.aural=Ruudunlukija (aural) 38 | param.usermedium.braille=Braille-laite (braille) 39 | param.usermedium.embossed=Braille-tulostus (embossed) 40 | param.usermedium.handheld=Mobiililaite (handheld) 41 | param.usermedium.presentation=Esitys (presentation) 42 | param.usermedium.print=Tulostus (print) 43 | param.usermedium.projection=Projektori (projection) 44 | param.usermedium.screen=Näyttö (screen) 45 | param.usermedium.tty=TTY (tty) 46 | param.usermedium.tv=TV (tv) 47 | param.warning=Varoitukset\: 48 | param.warning.0=Kaikkein tärkeimmät 49 | param.warning.1=Tavallinen raportointi 50 | param.warning.2=Kaikki 51 | param.warning.no=Ei varoituksia 52 | test=Testaa 53 | test.description=Tämän toiminnon avulla kehittäjät voivat testata Unicornin-tulostetta. Lähetä Unicornin-vastaustiedosto ja tarkastele tuloksia. 54 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/fr.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Abel Derderian 2 | #Mon Oct 14 21:18:07 UTC 2013 3 | conformance=Vérifie la conformité générale 4 | conformance.description=Effectue tous les tests possibles. 5 | custom=Tâche personnalisée 6 | custom.description=Sélectionnez les tests à effectuer 7 | custom.param.usermedium=Média CSS \: 8 | custom.param.warning=Avertissements CSS \: 9 | feed=Validateur de flux 10 | feed.description=Vérifie la syntaxe des flux Atom ou RSS 11 | full-css=Validation des profils CSS 12 | full-css.description=Vérifie la validité pour les profils CSS 1, CSS 2, CSS 2.1 et CSS 3 13 | http=Vérificateur HTTP 14 | i18n=Verificateur d'Internationalisation 15 | i18n.description=Information sur les aspects Internationalisation de votre page HTML 16 | param.charset=Charset \: 17 | param.doctype=Doctype \: 18 | param.profile=Profil CSS \: 19 | param.profile.atsc-tv=Profil ATSC TV 20 | param.profile.css1=CSS niveau 1 21 | param.profile.css2=CSS niveau 2 22 | param.profile.css21=CSS niveau 2.1 23 | param.profile.css3=CSS niveau 3 24 | param.profile.mobile=Mobile 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=SVG Basic 27 | param.profile.svgtiny=SVG Tiny 28 | param.profile.tv=Profil TV 29 | param.tests=Tests \: 30 | param.tests.appc-checker=XHTML - Appendice C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=En-Têtes HTTP 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=Média \: 36 | param.usermedium.all=Tous (all) 37 | param.usermedium.aural=Restitution vocale (aural) 38 | param.usermedium.braille=Ligne Braille (braille) 39 | param.usermedium.embossed=Imprimante Braille (embossed) 40 | param.usermedium.handheld=Périphérique de poche (handheld) 41 | param.usermedium.presentation=Présentation (presentation) 42 | param.usermedium.print=Impression (print) 43 | param.usermedium.projection=Projecteur (projection) 44 | param.usermedium.screen=Ecran (screen) 45 | param.usermedium.tty=Télétype/TTY, Terminal (tty) 46 | param.usermedium.tv=Télévision (tv) 47 | param.warning=Avertissements \: 48 | param.warning.0=Les plus importants 49 | param.warning.1=Rapport normal 50 | param.warning.2=Tous 51 | param.warning.no=Aucun avertissement 52 | test=Tâche de test 53 | test.description=Cette tâche permet aux développeurs de tester leur sortie Unicorn. Envoyez un fichier de réponse Unicorn et voyez le résultat. 54 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/gl.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Tomás Vilariño 2 | #Mon Oct 07 07:50:25 UTC 2013 3 | conformance=Verificar Conformidade Xeral 4 | conformance.description=Executar tantas verificacións como sexa posible. 5 | custom=Tarefa personalizada 6 | custom.description=Permitir escoller cales verificacións executar 7 | custom.param.usermedium=CSS User Medium\: 8 | custom.param.warning=Nivel Aviso CSS\: 9 | feed=Validador Feed 10 | feed.description=Verificar a sintase de Atom ou RSS 11 | full-css=Validación do Perfil CSS 12 | full-css.description=Verificar contra os perfís CSS 1, CSS 2, CSS 2.1 e CSS 3 13 | http=Verificador HTTP 14 | i18n=Verificador de Internacionalización 15 | i18n.description=Proporcionar información sobre as características de internacionalización da túa páxina HTML. 16 | param.charset=Charset\: 17 | param.doctype=Doctype\: 18 | param.profile=CSS Profile\: 19 | param.profile.atsc-tv=ATSC TV Profile 20 | param.profile.css1=CSS Level 1 21 | param.profile.css2=CSS Level 2 22 | param.profile.css21=CSS Level 2.1 23 | param.profile.css3=CSS Level 3 24 | param.profile.mobile=Mobile 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=SVG Basic 27 | param.profile.svgtiny=SVG Tiny 28 | param.profile.tv=TV Profile 29 | param.tests=Probas\: 30 | param.tests.appc-checker=XHTML - Apéndice C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=Cabeceiras HTTP 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=Medio do Usuario\: 36 | param.usermedium.all=Todos (all) 37 | param.usermedium.aural=Aural (aural) 38 | param.usermedium.braille=Braille (braille) 39 | param.usermedium.embossed=Relieve (embossed) 40 | param.usermedium.handheld=Dispositivo de man (handheld) 41 | param.usermedium.presentation=Presentación (presentation) 42 | param.usermedium.print=Imprimir (print) 43 | param.usermedium.projection=Proxección (projection) 44 | param.usermedium.screen=Pantalla (screen) 45 | param.usermedium.tty=Terminal (tty) 46 | param.usermedium.tv=TV (tv) 47 | param.warning=Avisos\: 48 | param.warning.0=O máis importante 49 | param.warning.1=Informe normal 50 | param.warning.2=Todo 51 | param.warning.no=Sen avisos 52 | test=Tarefa test 53 | test.description=Esta tarefa permite aos desenvolvedores verificar a saída de Unicorn. Enviar un ficheiro de resposta de Unicorn e ver o resultado. 54 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/he.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Or 2 | #Wed Feb 08 15:53:33 UTC 2012 3 | conformance=בדיקת אישור כללית 4 | conformance.description=בצע כמה שיותר בדיקות 5 | custom=משימה מותאמת אישית 6 | custom.description=נותן לך לבחור איזו בדיקה לבצע 7 | custom.param.warning=דרגת אזהרה CSS\: 8 | feed=בודק הזנות 9 | feed.description=בודק את מבנה הזנות ה-Atom או RSS 10 | full-css=בדיקת פרופיל CSS 11 | full-css.description=בודק תקינות כנגד גרסאות CSS 1, CSS 2, CSS 2.1 ו-CSS 3 12 | param.charset=Charset\: 13 | param.doctype=Doctype\: 14 | param.profile=פרופיל CSS\: 15 | param.profile.css1=CSS 1 16 | param.profile.css2=CSS 2 17 | param.profile.css21=CSS 2.1 18 | param.profile.css3=CSS 3 19 | param.profile.mobile=נייד 20 | param.profile.svg=SVG 21 | param.profile.svgbasic=SVG בסיסי 22 | param.tests=בדיקות 23 | param.tests.css-validator=CSS 24 | param.tests.markup-validator=(X)HTML 25 | param.usermedium=סביבת משתמש 26 | param.usermedium.all=הכול (הכול) 27 | param.usermedium.braille=ברייל 28 | param.usermedium.handheld=מחשב כף יד (מחשב כף יד) 29 | param.usermedium.presentation=תצוגה (תצוגה) 30 | param.usermedium.print=לדפוס 31 | param.usermedium.projection=להקרנה 32 | param.usermedium.screen=מסך (מסך) 33 | param.usermedium.tty=TTY (tty) 34 | param.usermedium.tv=טלויזיה 35 | param.warning=אזהרות 36 | param.warning.0=חשוב ביותר 37 | param.warning.1=דוח רגיל 38 | param.warning.2=הכול 39 | param.warning.no=ללא אזהרות 40 | test=משימת מבחן 41 | test.description=משימה זו מאפשרת למפתחים לבדוק את פלט החד-קרן שלהם. שלח קובץ תשובה של חד-קרן וצפה בתוצאה. 42 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/hr.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Submitted by Juraj Hilje 2 | #Wed Aug 25 06:15:34 UTC 2010 3 | conformance=Provjera opće usklađenosti 4 | conformance.description=Provodi najviše moguće provjera 5 | custom=Prilagođena provjera 6 | custom.description=Imate izbor koje provjere napraviti 7 | custom.param.usermedium=CSS korisnički medij 8 | custom.param.warning=CSS razina upozorenja\: 9 | feed=Feed validator 10 | feed.description=Provjeri sintaksu Atom ili RSS feed-a 11 | full-css=Validacija CSS profila 12 | full-css.description=Provjeri validnost za CSS 1, CSS 2, CSS 2.1 i CSS 3 profile 13 | param.charset=Charset: 14 | param.doctype=Doctype: 15 | param.profile=CSS Profil\: 16 | param.profile.atsc-tv=ATSC TV Profil 17 | param.profile.css1=CSS Level 1 18 | param.profile.css2=CSS Level 2 19 | param.profile.css21=CSS Level 2.1 20 | param.profile.css3=CSS Level 3 21 | param.profile.mobile=Mobile 22 | param.profile.svg=SVG 23 | param.profile.svgbasic=SVG Basic 24 | param.profile.svgtiny=SVG Tiny 25 | param.profile.tv=TV Profil 26 | param.tests=Testovi\: 27 | param.tests.css-validator=CSS 28 | param.tests.feed=RSS/Atom 29 | param.tests.markup-validator=(X)HTML 30 | param.usermedium=Korisnički medij 31 | param.usermedium.all=Sve (all) 32 | param.usermedium.aural=Slušni (aural) 33 | param.usermedium.braille=Brailleovo pismo (braille) 34 | param.usermedium.embossed=Reljefno (embossed) 35 | param.usermedium.handheld=Dlanovnik (handheld) 36 | param.usermedium.presentation=Prezentacija (presentation) 37 | param.usermedium.print=Ispis (print) 38 | param.usermedium.projection=Projekcija (projection) 39 | param.usermedium.screen=Ekran (screen) 40 | param.usermedium.tty=TTY (tty) 41 | param.usermedium.tv=TV (tv) 42 | param.warning=Upozorenja\: 43 | param.warning.0=Najvažniji 44 | param.warning.1=Uobičajeni izvještaj 45 | param.warning.2=Sve 46 | param.warning.no=Nema upozorenja 47 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/hu.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by ucsendre 2 | #Thu May 03 13:34:30 UTC 2012 3 | conformance=Általános Helyességellenőrző 4 | conformance.description=Mindent tesztel, amit tud. 5 | custom=Egyéni feladat 6 | custom.description=A kiválasztott programnyelveket ellenőrzi 7 | custom.param.usermedium=CSS médium\: 8 | custom.param.warning=CSS figyelmeztetések\: 9 | feed=Feed helyességellenőrző 10 | feed.description=Atom vagy RSS feed szintaxis vizsgálata 11 | full-css=CSS profil helyességellenőrző 12 | full-css.description=Érványességvizsgálat a CSS 1, 2, 2.1 és 3-as profilokra 13 | i18n=Nemzetköziesítés ellenőrző 14 | i18n.description=A nemzetköziesítéssel kapcsolatos szempontok alapján szolgáltat információt a HTML oldalról. 15 | param.charset=Charset\: 16 | param.doctype=Doctype\: 17 | param.profile=CSS profil\: 18 | param.profile.atsc-tv=ATSC TV profil 19 | param.profile.css1=CSS 1 20 | param.profile.css2=CSS 2 21 | param.profile.css21=CSS 2.1 22 | param.profile.css3=CSS 3 23 | param.profile.mobile=Mobil 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG Alap 26 | param.profile.svgtiny=SVG Kicsi 27 | param.profile.tv=TV profil 28 | param.tests=Tesztek\: 29 | param.tests.appc-checker=XHTML - C függelék 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Médium 34 | param.usermedium.all=Mind (all) 35 | param.usermedium.aural=Beszéd (aural/speech) 36 | param.usermedium.braille=Braille (braille) 37 | param.usermedium.embossed=Dombornyomott (embossed) 38 | param.usermedium.handheld=Kézi eszköz (handheld) 39 | param.usermedium.presentation=Bemutató (presentation) 40 | param.usermedium.print=Nyomtatás (print) 41 | param.usermedium.projection=Vetítés (projection) 42 | param.usermedium.screen=Képernyő (screen) 43 | param.usermedium.tty=Teletype (tty) 44 | param.usermedium.tv=TV (tv) 45 | param.warning=Figyelmeztetések\: 46 | param.warning.0=Csak a legfontosabbakról 47 | param.warning.1=Normális jelentés 48 | param.warning.2=Mindenről 49 | param.warning.no=Semmiről 50 | test=Teszt üzem 51 | test.description=Fejlesztők tesztelhetik ezzel az oldalaikat. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/id.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by harimurti 2 | #Sat Mar 16 17:44:29 UTC 2013 3 | conformance=Periksa kesesuaian umum 4 | conformance.description=Lakukan pemeriksaan sebanyak mungkin 5 | custom=Perintah kustom 6 | custom.description=Pilih sendiri pemeriksaan 7 | custom.param.usermedium=Media Pengguna CSS\: 8 | custom.param.warning=Level Peringatan CSS\: 9 | feed=Validasi Umpan 10 | feed.description=Tandai atau Centang sintaks dari Atom atau RSS feeds 11 | full-css=Validasi Profil CSS 12 | full-css.description=Periksa validitas terhadap profil CSS 1, CSS 2, CSS 2.1 dan CSS 3 13 | i18n=Pemeriksaan Internationalization 14 | i18n.description=Menyediakan informasi mengenai aspek yang berhubungan anda secara Internationalization pada halaman HTML 15 | param.charset=Charset\: 16 | param.doctype=Doctype\: 17 | param.profile=Profil CSS\: 18 | param.profile.atsc-tv=Profil ATSC TV 19 | param.profile.css1=CSS Level 1 20 | param.profile.css2=CSS Level 2 21 | param.profile.css21=CSS Level 2.1 22 | param.profile.css3=CSS Level 3 23 | param.profile.mobile=Mobile 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG Basic 26 | param.profile.svgtiny=SVG Tiny 27 | param.profile.tv=Profil TV 28 | param.tests=Tes 29 | param.tests.appc-checker=XHTML - Apendiks C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Media Pengguna\: 34 | param.usermedium.all=Semua (semua) 35 | param.usermedium.aural=Aural (aural) 36 | param.usermedium.braille=Braille (braille) (berguna bagi Pengguna Tunanetra atau buta) 37 | param.usermedium.embossed=Timbul (timbul) (biasanya digunakan pada huruf timbul dan gambar timbul) 38 | param.usermedium.handheld=Genggam (genggam) 39 | param.usermedium.presentation=Presentasi (presentasi ) 40 | param.usermedium.print=Cetak (cetak) 41 | param.usermedium.projection=Proyeks i(proyeksi) 42 | param.usermedium.screen=Layar (layar) 43 | param.usermedium.tty=TTY (tty) 44 | param.usermedium.tv=TV (tv) 45 | param.warning=Peringatan\: 46 | param.warning.0=Terpenting 47 | param.warning.1=Hasil normal 48 | param.warning.2=Semua 49 | param.warning.no=Tidak ada peringatan 50 | test=Perintah Kerja 51 | test.description=Tugas ini memungkinkan pengembang untuk menguji keluaran Unicorn. Kirim berkas serta lihat hasilnya. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/is.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Stefán Örvar Sigmundsson, eMedia Intellect 2 | #Sun Jul 07 22:21:35 UTC 2013 3 | conformance=Almenn samræmisskoðun 4 | conformance.description=Framkvæmir eins margar skoðanir og mögulegt er. 5 | custom=Sérsniðið verk 6 | custom.description=Leyfir þér að velja hvaða skoðanir skulu framkvæmdar. 7 | custom.param.usermedium=CSS-notandamiðill\: 8 | custom.param.warning=CSS-viðvörunarstig\: 9 | feed=Streymafullgildari 10 | feed.description=Skoðar setningarbyggingu Atom- eða RSS-streyma 11 | full-css=CSS-afbrigðafullgildari 12 | full-css.description=Skoðar gildi gegn CSS 1-, CSS 2-, CSS 2.1- og CSS 3-afbrigðum 13 | i18n=Alþjóðavæðingarskoðari 14 | i18n.description=Aflar upplýsinga sem tengjast alþjóðavæðingu HTML-síðunnar þinnar. 15 | param.charset=Stafasamstæða\: 16 | param.doctype=Skjaltegundaryfirlýsing\: 17 | param.profile=CSS-afbrigði\: 18 | param.profile.atsc-tv=ATSC TV-afbrigði 19 | param.profile.css1=CSS-útgáfa 1 20 | param.profile.css2=CSS-útgáfa 2 21 | param.profile.css21=CSS-útgáfa 2.1 22 | param.profile.css3=CSS-útgáfa 3 23 | param.profile.mobile=Mobile 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG Basic 26 | param.profile.svgtiny=SVG Tiny 27 | param.profile.tv=Sjónvarpsafbrigði 28 | param.tests=Prófanir\: 29 | param.tests.appc-checker=XHTML - Viðauki C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Notandamiðill\: 34 | param.usermedium.all=Allt (all) 35 | param.usermedium.aural=Heyranlegt (aural) 36 | param.usermedium.braille=Blindraletur (braille) 37 | param.usermedium.embossed=Upphleypt (embossed) 38 | param.usermedium.handheld=Handhald (handheld) 39 | param.usermedium.presentation=Framsetning (presentation) 40 | param.usermedium.print=Prent (print) 41 | param.usermedium.projection=Vörpun (projection) 42 | param.usermedium.screen=Skjár (screen) 43 | param.usermedium.tty=Fjarritari (tty) 44 | param.usermedium.tv=Sjónvarp (tv) 45 | param.warning=Viðvaranir\: 46 | param.warning.0=Mikilvægast 47 | param.warning.1=Venjuleg skýrsla 48 | param.warning.2=Allt 49 | param.warning.no=Engar viðvaranir 50 | test=Prófunarverk 51 | test.description=Þetta verk gerir vefforriturum kleift að prófa Unicorn-úttakið þeirra. Sendu Unicorn-svarskrá og fylgstu með niðurstöðunni. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/it.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Walter Raponi 2 | #Tue Aug 30 10:52:07 UTC 2011 3 | conformance=Controllo di conformità universale del Web 4 | conformance.description=Effettua il massimo dei controlli possibili. 5 | custom=Compito Personalizzato 6 | custom.description=Ti permette di scegliere quali controlli effettuare 7 | custom.param.usermedium=Media del CSS\: 8 | custom.param.warning=Livello di Attenzione\: 9 | feed=Validatore Feed 10 | feed.description=Controlla la sintassi dei feed Atom o RSS 11 | full-css=CSS Validazione del profilo 12 | full-css.description=Controlla la validità dei profili CSS 1, CSS 2, CSS 2.1 e CSS 3 13 | i18n=Controllo internazionalizzazione 14 | i18n.description=Informazioni relative all'internazionalizzazione della pagina HTML 15 | param.charset=Charset\: 16 | param.doctype=Doctype\: 17 | param.profile=Profilo del CSS\: 18 | param.profile.atsc-tv=Profilo ATSC TV 19 | param.profile.css1=CSS livello 1 20 | param.profile.css2=CSS livello 2 21 | param.profile.css21=CSS livello 2.1 22 | param.profile.css3=CSS livello 3 23 | param.profile.mobile=Mobile 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG Basic 26 | param.profile.svgtiny=SVG Tiny 27 | param.profile.tv=Profilo TV 28 | param.tests=Controlli\: 29 | param.tests.appc-checker=XHTML - Appendice C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Media utente\: 34 | param.usermedium.all=Tutto (all) 35 | param.usermedium.aural=Aurale (aural) 36 | param.usermedium.braille=Braile (braille) 37 | param.usermedium.embossed=In Rilievo (embossed) 38 | param.usermedium.handheld=Palmare (handheld) 39 | param.usermedium.presentation=Presentazione (presentation) 40 | param.usermedium.print=Stampa (print) 41 | param.usermedium.projection=Proiezione (projection) 42 | param.usermedium.screen=Schermo (screen) 43 | param.usermedium.tty=TTY (tty) 44 | param.usermedium.tv=TV (tv) 45 | param.warning=Attenzione\: 46 | param.warning.0=I più importanti 47 | param.warning.1=Informazioni normali 48 | param.warning.2=Tutto 49 | param.warning.no=Nessun avviso 50 | test=compito 51 | test.description=Questo compito permette agli sviluppatori di testare l'output dei loro Unicorn. Invia un file Unicorn di risposta e guarda i risultati. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/ja.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Anonymous Coward 2 | #Mon Oct 14 03:53:10 UTC 2013 3 | conformance=一般的な適合性チェック 4 | conformance.description=可能な検証を実行する 5 | custom=カスタム検証 6 | custom.description=実行したい検証を選択してください。 7 | custom.param.usermedium=CSSユーザーメディア\: 8 | custom.param.warning=CSS警告レベル\: 9 | feed=フィードバリデータ 10 | feed.description=Atom/RSSフィードの構文チェック 11 | full-css=CSSプロファイル検証 12 | full-css.description=CSS 1およびCSS 2、CSS 2.1、CSS 3プロファイルに対する妥当性を検証します 13 | http=HTTPチェッカー 14 | i18n=国際化チェック 15 | i18n.description=あなたのHTMLの国際化関連の面の情報を提供します。 16 | param.charset=Charset\: 17 | param.doctype=Doctype\: 18 | param.profile=CSSプロファイル\: 19 | param.profile.atsc-tv=ATSCテレビプロファイル 20 | param.profile.css1=CSSレベル1 21 | param.profile.css2=CSSレベル2 22 | param.profile.css21=CSSレベル2.1 23 | param.profile.css3=CSSレベル3 24 | param.profile.mobile=モバイル 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=SVG Basic 27 | param.profile.svgtiny=SVG Tiny 28 | param.profile.tv=テレビプロファイル 29 | param.tests=テスト\: 30 | param.tests.appc-checker=XHTML - 附属書 C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=HTTPヘッダー 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=利用者媒体\: 36 | param.usermedium.all=すべて (all) 37 | param.usermedium.aural=聴覚 (aural) 38 | param.usermedium.braille=点字 (braille) 39 | param.usermedium.embossed=点字プリンタ (embossed) 40 | param.usermedium.handheld=携帯機器 (handheld) 41 | param.usermedium.presentation=プレゼンテーション (presentation) 42 | param.usermedium.print=印刷物 (print) 43 | param.usermedium.projection=投影 (projection) 44 | param.usermedium.screen=スクリーン (screen) 45 | param.usermedium.tty=テレタイプ端末 (tty) 46 | param.usermedium.tv=テレビジョン (tv) 47 | param.warning=警告\: 48 | param.warning.0=最重要 49 | param.warning.1=通常の報告 50 | param.warning.2=すべて 51 | param.warning.no=警告なし 52 | test=テストタスク 53 | test.description=このタスクは開発者がUnicorn出力をテストする為に行います。Unicorn出力結果ファイルを送信し、テスト結果を得ることができます。 54 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/ko.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Hooney Jo 2 | #Wed Jan 11 03:56:13 UTC 2012 3 | conformance=일반적인 적합성 검사 4 | conformance.description=가능한 많은 검사를 수행합니다. 5 | custom=사용자 맞춤형 작업 6 | custom.description=검사하려는 대상을 선택하세요. 7 | custom.param.usermedium=CSS 사용자 미디엄\: 8 | custom.param.warning=CSS 경고 단계\: 9 | feed=피드 검사기 10 | feed.description=Atom 혹은 RSS 피드의 내용 확인 11 | full-css=CSS 프로필 검사기 12 | full-css.description=CSS1, CSS2, CSS 2.1, CSS 3 프로파일에 대해서 검사하기 13 | http=HTTP 검사기 14 | i18n=국제화(i18n) 검사기 15 | i18n.description=국제화(i18n) 검사 개요 16 | param.charset=Charset\: 17 | param.doctype=Doctype\: 18 | param.profile=CSS 프로파일\: 19 | param.profile.atsc-tv=ATSC TV 프로파일\: 20 | param.profile.css1=CSS 레벨 1 21 | param.profile.css2=CSS 레벨2 22 | param.profile.css21=CSS 레벨 2.1 23 | param.profile.css3=CSS 레벨 3 24 | param.profile.mobile=모바일 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=SVG 베이직 27 | param.profile.svgtiny=SVG Tiny 28 | param.profile.tv=TV 프로파일 29 | param.tests=검사\: 30 | param.tests.appc-checker=XHTML - 확장 C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=HTTP 헤더 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=사용 매체\: 36 | param.usermedium.all=전체 (all) 37 | param.usermedium.aural=음성 (aural) 38 | param.usermedium.braille=점자 (braille) 39 | param.usermedium.embossed=양각 (embossed) 40 | param.usermedium.handheld=모바일 (handheld) 41 | param.usermedium.presentation=프레젠테이션 (presentation) 42 | param.usermedium.print=인쇄 (print) 43 | param.usermedium.projection=프로젝터 (projection) 44 | param.usermedium.screen=화면 (screen) 45 | param.usermedium.tty=TTY (tty) 46 | param.usermedium.tv=TV (tv) 47 | param.warning=경고\: 48 | param.warning.0=가장 중요한 49 | param.warning.1=보통 리포트 50 | param.warning.2=모두 51 | param.warning.no=경고 없음 52 | test=테스트 작업 53 | test.description=개발자가 Unicorn 출력 결과를 테스트하기 위해 수행하는 작업입니다. Unicorn 출력 파일을 이용하여 테스트 결과를 확인할 수 있습니다. 54 | unicorn=유니콘 돌아가기(테스트) 55 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/l33t.tasklist.properties: -------------------------------------------------------------------------------- 1 | conformance=93N3R4l C0nF0Rm4nC3 CH3ck 2 | conformance.description=p3RF0rm5 45 m4NY CH3cX 45 p05518L3. 3 | http=|-|77P ch3CK3r 4 | feed=F33d V4L1d470r 5 | feed.description=ch3cX 7H3 5yn74x 0F 470m 0R R55 ph33D5 6 | test=7357 745K 7 | test.description=7H15 745K 4LL0w5 D3v3L0p3r5 70 7357 7H31R un1c0rn 0U7pU7. 5U8M17 4 uN1c0rn R35p0n53 Ph1l3 4Nd w47Ch 7H3 r35uL7. 8 | full-css=c55 Pr0F1l3 V4L1D4710n 9 | full-css.description=cH3Cx v4L1D17Y 4941N57 C55 1, C55 2, c55 2.1 4Nd c55 3 pR0f1L35 10 | custom=cu570m 745k 11 | custom.description=l375 U ch0053 wh1Ch ch3CX 70 p3RF0Rm 12 | custom.param.usermedium=C55 U53R M3d1um: 13 | custom.param.warning=c55 W4Rn1N' l3v3l: 14 | param.tests=73575: 15 | param.tests.css-validator=c55 16 | param.tests.appc-checker=Xh7mL - 4pp3Nd1X c 17 | param.tests.markup-validator=(X)H7ML 18 | param.tests.feed=r55/470m 19 | param.tests.http=H77p h34d3R5 20 | param.warning=w4Rn1n95: 21 | param.warning.no=n0 w4rn1n95 22 | param.warning.0=M057 1mp0r74N7 23 | param.warning.1=N0Rm4L r3p0r7 24 | param.warning.2=4Ll 25 | param.charset=Charset: 26 | param.doctype=Doctype: 27 | param.profile=C55 PR0f1l3: 28 | param.profile.css1=c55 l3v3l 1 29 | param.profile.css2=C55 l3v3L 2 30 | param.profile.css21=c55 l3v3l 2.1 31 | param.profile.css3=c55 L3V3L 3 32 | param.profile.svg=5v9 33 | param.profile.svgbasic=5v9 8451C 34 | param.profile.svgtiny=5v9 71Ny 35 | param.profile.mobile=m081L3 36 | param.profile.atsc-tv=475C 7V Pr0F1L3 37 | param.profile.tv=7V pR0F1L3 38 | param.usermedium=U53R m3D1uM: 39 | param.usermedium.all=4Ll (4Ll) 40 | param.usermedium.aural=4uR4l (4Ur4L) 41 | param.usermedium.braille=8r41lL3 (8R41LL3) 42 | param.usermedium.embossed=3M80553D (3M80553D) 43 | param.usermedium.handheld=H4nDh3Ld (H4nDH3LD) 44 | param.usermedium.presentation=pr353n74710n (Pr353N74710n) 45 | param.usermedium.print=Pr1n7 (pr1n7) 46 | param.usermedium.projection=pR0J3c710N (PR0j3C710n) 47 | param.usermedium.screen=5Cr33N (5cr33N) 48 | param.usermedium.tty=77y (77Y) 49 | param.usermedium.tv=7V (7v) 50 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/lolcat.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Submitted by Amy 2 | #Thu Jul 29 27:03:86 UTC 2010 3 | conformance=GENERAL CONFOARMANCE CHECK 4 | conformance.description=PER4MS AZ MANY CHECKS AZ POSSIBLE. 5 | http=HTTP CHECKR 6 | feed=FEED VALIDATOR 7 | feed.description=CHECKS TEH SYNTAX OF ATUM OR RSS FEEDS 8 | test=TEST TASK 9 | test.description=THIS TASK ALLOWS DEVELOPERS TO TEST THEIR UNICORN OUTPUT. SUBMIT UNICORN RESPONSE FILE AN WATCH TEH RESULT. 10 | full-css=CSS PROFILE VALIDASHUN 11 | full-css.description=CHECKS VALIDITY AGAINST CSS 1, CSS 2, CSS 2.1 AN CSS 3 PROFILES 12 | custom=CUSTUM TASK 13 | custom.description=LETS YOO CHOOZE WHICH CHECKS T PERFRM 14 | custom.param.usermedium=CSS USR MEDIUM: 15 | custom.param.warning=CSS WARNNG LEVEL: 16 | param.tests=TESTS: 17 | param.tests.css-validator=CSS 18 | param.tests.appc-checker=XHTML - APPENDIX C 19 | param.tests.markup-validator=(X)HTML 20 | param.tests.feed=RSS/ATUM 21 | param.tests.http=HTTP HEADERS 22 | param.warning=WARNINGS: 23 | param.warning.no=NO WARNINGS 24 | param.warning.0=MOST IMPORTANT 25 | param.warning.1=NORMAL REPORT 26 | param.warning.2=ALL 27 | param.charset=Charset: 28 | param.doctype=Doctype: 29 | param.profile=CSS PROFILE: 30 | param.profile.css1=CSS LEVEL 1 31 | param.profile.css2=CSS LEVEL 2 32 | param.profile.css21=CSS LEVEL 2.1 33 | param.profile.css3=CSS LEVEL 3 34 | param.profile.svg=SVG 35 | param.profile.svgbasic=SVG BASIC 36 | param.profile.svgtiny=SVG TINY 37 | param.profile.mobile=MOBILE 38 | param.profile.atsc-tv=ATSC TV PROFILE 39 | param.profile.tv=TV PROFILE 40 | param.usermedium=USR MEDIUM: 41 | param.usermedium.all=ALL (ALL) 42 | param.usermedium.aural=AURAL (AURAL) 43 | param.usermedium.braille=BRAILLE (BRAILLE) 44 | param.usermedium.embossed=EMBOSSED (EMBOSSED) 45 | param.usermedium.handheld=HANDHELD (HANDHELD) 46 | param.usermedium.presentation=PRESENTASHUN (PRESENTASHUN) 47 | param.usermedium.print=PRINT (PRINT) 48 | param.usermedium.projection=PROJECSHUN (PROJECSHUN) 49 | param.usermedium.screen=SCREEN (SCREEN) 50 | param.usermedium.tty=TTEH (TTEH) 51 | param.usermedium.tv=TV (TV) 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/lt.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Submitted by Rytis Slatkevi\u010Dius 2 | #Mon Aug 02 17:23:17 UTC 2010 3 | conformance=Bendras atitikties testas 4 | conformance.description=Atlieka kiek įmanoma daugiau testų 5 | custom=Pasirinktos užduotys 6 | custom.description=Leidžia pasirinkti atliekamas užduotis 7 | custom.param.warning=CSS perspėjimų lygis\: 8 | feed=Srautų validacija 9 | full-css=CSS validacija 10 | param.charset=Charset: 11 | param.doctype=Doctype: 12 | param.profile=CSS profilis\: 13 | param.profile.css1=CSS Level 1 14 | param.profile.css2=CSS Level 2 15 | param.profile.css21=CSS Level 2.1 16 | param.profile.css3=CSS Level 3 17 | param.profile.mobile=Mobilusis 18 | param.profile.svg=SVG 19 | param.profile.svgbasic=SVG Basic 20 | param.profile.svgtiny=SVG Tiny 21 | param.tests=Testai\: 22 | param.tests.css-validator=CSS 23 | param.tests.feed=RSS/Atom 24 | param.tests.markup-validator=(X)HTML 25 | param.usermedium.all=Visi (all) 26 | param.usermedium.braille=Brailis (braille) 27 | param.usermedium.presentation=Pateikties (presentation) 28 | param.usermedium.print=Spausdinimo (print) 29 | param.usermedium.projection=Projektoriaus (projection) 30 | param.usermedium.screen=Ekrano (screen) 31 | param.usermedium.tv=TV (tv) 32 | param.warning=Perspėjimai\: 33 | param.warning.0=Svarbiausi 34 | param.warning.1=Normali ataskaita 35 | param.warning.2=Visi 36 | param.warning.no=Nėra perspėjimų 37 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/lv.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Zintis Zilbers 2 | #Thu Apr 12 07:30:38 UTC 2012 3 | conformance=Vispārējā tbilstības pārbaude 4 | conformance.description=Veic pēc iespējas vairāk pārbaužu 5 | custom=Individuāls uzdevums 6 | custom.description=Ļauj izvēlēties kādas pārbaudes veikt 7 | custom.param.usermedium=CSS lietotāja medijs\: 8 | custom.param.warning=CSS brīdinājuma līmenis\: 9 | feed=Barotnes validators 10 | feed.description=Pārbauda Atom un RSS barotņu sintaksi 11 | full-css=CSS Profila validācija 12 | full-css.description=Pārbauda pareizību pēc CSS 1, CSS 2, CSS 2.1 un CSS 3 profiliem 13 | i18n=Internacionalizācijas pārbaudītājs 14 | i18n.description=Sniedz informāciju par Jūsu HTML lapas ar internacionalizāciju saistītiem aspektiem. 15 | param.charset=Rakstzīmju kopa\: 16 | param.doctype=Dokumenta tips 17 | param.profile=CSS profils\: 18 | param.profile.atsc-tv=ATSC TV profils 19 | param.profile.css1=CSS Līmenis 1 20 | param.profile.css2=CSS Līmenis 2 21 | param.profile.css21=CSS Līmenis 2.1 22 | param.profile.css3=CSS Līmenis 3 23 | param.profile.mobile=Mobilā vide 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=Pamata SVG 26 | param.profile.svgtiny=Mazais SVG 27 | param.profile.tv=TV profils 28 | param.tests=Testi\: 29 | param.tests.appc-checker=XHTML - Pielikums C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Lietotāja līdzeklis\: 34 | param.usermedium.all=Viss (viss) 35 | param.usermedium.aural=Dzirdes (dzirdes) 36 | param.usermedium.braille=Breila (breila) 37 | param.usermedium.embossed=Izceltais raksts (izceltais raksts) 38 | param.usermedium.handheld=Pārnēsājams (pārnēsājams) 39 | param.usermedium.presentation=Prezentācija (prezentācija) 40 | param.usermedium.print=Drukas materiāls (drukas materiāls) 41 | param.usermedium.projection=Projekcija (projekcija) 42 | param.usermedium.screen=Ekrāna attēlojums (ekrāna attēlojums) 43 | param.usermedium.tty=TTY (tty) 44 | param.usermedium.tv=TV (tv) 45 | param.warning=Brīdinājumi\: 46 | param.warning.0=Vissvarīgākais 47 | param.warning.1=Parastā atskaite 48 | param.warning.2=Visi 49 | param.warning.no=Brīdinājumu nav 50 | test=Pārbaudes uzdevums 51 | test.description=Šis uzdevums ļauj izstrādātājiem pārbaudīt viņu Unicorn izvadi. Iesniedziet Unicorn atbildes failu un aplūkojiet rezultātu. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/nb.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Ruben Vådahl 2 | #Thu Mar 15 19:44:36 UTC 2012 3 | conformance=Generell konformasjonssjekk 4 | conformance.description=Utfør så mange tester som mulig 5 | custom=Tilpasset oppgave 6 | custom.description=Lar deg velge vilke tester som skal utføres. 7 | custom.param.usermedium=CSS brukermedium 8 | custom.param.warning=CSS varselnivå 9 | feed=Feed Validator 10 | feed.description=Sjekker syntaxen av en Atom eller RSS feed 11 | full-css=CSS Profile Validation 12 | full-css.description=Sjekker validitet mot CS S1-, CSS 2-, CSS 2.1- og CSS 3-profiler 13 | param.charset=Charset\: 14 | param.doctype=Doctype\: 15 | param.profile=CSS-profil 16 | param.profile.atsc-tv=ATSC TV-profil 17 | param.profile.css1=CSS nivå 1 18 | param.profile.css2=CSS nivå 2 19 | param.profile.css21=CSS nivå 2.1 20 | param.profile.css3=CSS nivå 3 21 | param.profile.mobile=Mobil 22 | param.profile.svg=SVG 23 | param.profile.svgbasic=SVG Basic 24 | param.profile.svgtiny=SVG Tiny 25 | param.profile.tv=TV-profil 26 | param.tests=Tester\: 27 | param.tests.appc-checker=XHTML - vedlegg C 28 | param.tests.css-validator=CSS 29 | param.tests.feed=RSS/Atom 30 | param.tests.markup-validator=(X)HTML 31 | param.usermedium=Brukermedium 32 | param.usermedium.all=Alle (all) 33 | param.usermedium.aural=Lyd (aural) 34 | param.usermedium.braille=Braille (braille) 35 | param.usermedium.embossed=Preget (embossed) 36 | param.usermedium.handheld=Håndholdt (handheld) 37 | param.usermedium.presentation=Presentasjon (presentation) 38 | param.usermedium.print=Utskrift (print) 39 | param.usermedium.projection=Projeksjon (projection) 40 | param.usermedium.screen=Skjerm (screen) 41 | param.usermedium.tty=TTY (tty) 42 | param.usermedium.tv=TV (tv) 43 | param.warning=Advarsler\: 44 | param.warning.0=Viktigst 45 | param.warning.1=Normal rapport 46 | param.warning.2=Alle 47 | param.warning.no=Ingen advarsler 48 | test=Testoppgave 49 | test.description=Denne oppgaven gjør det mulig for utviklere å teste Unicorns ut-data. Legg inn en Unicorn respons-fil og se resultat. 50 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/nl.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Evert Etienne 2 | #Tue Aug 23 13:14:19 UTC 2011 3 | conformance=Algemene conformerings controle 4 | conformance.description=Voert zoveel mogelijk controles uit. 5 | custom=Gebruikersspecifieke taak 6 | custom.description=Geeft je de keuze welke controles uitgevoerd gaat worden 7 | custom.param.usermedium=CSS gebruikers medium\: 8 | custom.param.warning=CSS waarschuwings niveau\: 9 | feed=Webfeed-validator 10 | feed.description=Controleert de syntaxis van Atom- of RSS-feeds 11 | full-css=Validatie van CSS-profielen 12 | full-css.description=Controleert validiteit ten opzichte van CSS 1, CSS2, CSS 2.1 en CSS 3 profielen 13 | i18n=Internationalisatie tester 14 | i18n.description=Voorziet informatie over de internationalisatie-gerelateerde aspecten van jouw HTML pagina. 15 | param.charset=Charset\: 16 | param.doctype=Doctype\: 17 | param.profile=CSS profiel\: 18 | param.profile.atsc-tv=ATSC TV profiel 19 | param.profile.css1=CSS Niveau 1 20 | param.profile.css2=CSS Niveau 2 21 | param.profile.css21=CSS Niveau 2.1 22 | param.profile.css3=CSS Niveau 3 23 | param.profile.mobile=Mobiel 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG Basis 26 | param.profile.svgtiny=SVG Tiny 27 | param.profile.tv=TV profiel 28 | param.tests=Testen\: 29 | param.tests.appc-checker=XHTML - Appendix C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Gebruikers Medium\: 34 | param.usermedium.all=Allen (all) 35 | param.usermedium.aural=Auditief (aural) 36 | param.usermedium.braille=Braille (braille) 37 | param.usermedium.embossed=Reli�f (embossed) 38 | param.usermedium.handheld=Mobiel apparaat (handheld) 39 | param.usermedium.presentation=Presentatie (presentation) 40 | param.usermedium.print=Drukwerk (print) 41 | param.usermedium.projection=Projectie (projection) 42 | param.usermedium.screen=Beeldscherm (screen) 43 | param.usermedium.tty=TTY (tty) 44 | param.usermedium.tv=TV (tv) 45 | param.warning=Waarschuwingen\: 46 | param.warning.0=Belangrijkste 47 | param.warning.1=Normale report 48 | param.warning.2=Allen 49 | param.warning.no=Geen waarschuwingen 50 | test=Controle taak 51 | test.description=Deze taak laat ontwikkelaars hun Unicorn uitvoer controleren. Biedt een Unicorn respons file aan en bezie het resultaat. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/pl.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Chris Trynkiewicz 2 | #Tue Aug 23 22:53:29 UTC 2011 3 | conformance=Standardowy zestaw testów 4 | conformance.description=Przeprowadza wszystkie możliwe testy. 5 | custom=Konfiguracja zadania 6 | custom.description=Pozwala na wykonanie tylko wybranych zadań 7 | custom.param.usermedium=Medium CSS\: 8 | custom.param.warning=Poziom błędów CSS\: 9 | feed=Walidacja kanałów 10 | feed.description=Sprawdza poprawność składni kanałów Atom i RSS 11 | full-css=Walidacja profilu CSS 12 | full-css.description=Wybierz wersję kodu CSS 1, CSS 2, CSS 2.1 bądź CSS 3 13 | i18n=Internacjonalizacja 14 | i18n.description=Wyświetla informacje na temat internacjonalizacji kodu HTML strony. 15 | param.charset=Charset: 16 | param.doctype=Doctype: 17 | param.profile=Profil CSS \: 18 | param.profile.atsc-tv=Profil ATSC TV 19 | param.profile.css1=CS - poziom 1 20 | param.profile.css2=CSS - poziom 2 21 | param.profile.css21=CSS - poziom 2.1 22 | param.profile.css3=CSS - poziom 3 23 | param.profile.mobile=Mobilny 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG Basic 26 | param.profile.svgtiny=SVG Tiny 27 | param.profile.tv=TV Profile 28 | param.tests=Testuj\: 29 | param.tests.appc-checker=XHTML - Dodatek C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.http=Nagłówki HTTP 33 | param.tests.markup-validator=(X)HTML 34 | param.usermedium=Nośnik\: 35 | param.usermedium.all=Sprawdź wszystkie (all) 36 | param.usermedium.aural=Dźwiękowe (aural) 37 | param.usermedium.braille=Braille (braille) 38 | param.usermedium.embossed=Wytłaczane (embossed) 39 | param.usermedium.handheld=Podręczne (handheld) 40 | param.usermedium.presentation=Prezentacja (presentation) 41 | param.usermedium.print=Drukarka (print) 42 | param.usermedium.projection=Projekcja (projection) 43 | param.usermedium.screen=Monitor (screen) 44 | param.usermedium.tty=TTY (tty) 45 | param.usermedium.tv=TV (tv) 46 | param.warning=Ostrzeżenia\: 47 | param.warning.0=Najistotniejsze 48 | param.warning.1=Raport standardowy 49 | param.warning.2=Wszystkie 50 | param.warning.no=Bez ostrzeżeń 51 | test=Zadanie testujące 52 | test.description=Ta opcja pozwala twórcom na sprawdzenie strony wyników Unicorna. Prześlij plik wynikowy walidacji i obserwuj rezultat. 53 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/pt.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Marcelo Prado 2 | #Thu Oct 17 02:51:30 UTC 2013 3 | conformance=Verificação Geral de Conformidade 4 | conformance.description=Realizar o máximo de checagens possíveis 5 | custom=Tarefa personalizada 6 | custom.description=Selecione quais verificações deseja executar 7 | custom.param.usermedium=Mídia de exibição do CSS\: 8 | custom.param.warning=Nível de advertências de CSS\: 9 | feed=Validação de Feeds 10 | feed.description=Verifica a sintaxe de Atom ou RSS feeds 11 | full-css=Validação de Perfil CSS 12 | full-css.description=Executa a validação para os perfís CSS 1, CSS 2, CSS 2.1 e CSS 3 13 | http=Checagem do http 14 | i18n=Validador de Internacionalização 15 | i18n.description=Provê informação sobre aspectos relacionados a internacionalização de sua página HTML. 16 | param.charset=Charset\: 17 | param.doctype=Doctype\: 18 | param.profile=Perfil CSS 19 | param.profile.atsc-tv=Perfil ATSC TV 20 | param.profile.css1=CSS Nível 1 21 | param.profile.css2=CSS Nível 2 22 | param.profile.css21=CSS Nível 2.1 23 | param.profile.css3=CSS Nível 3 24 | param.profile.mobile=Mobile 25 | param.profile.svg=SVG\: 26 | param.profile.svgbasic=SVG básico 27 | param.profile.svgtiny=SVG Tiny 28 | param.profile.tv=Perfil de TV 29 | param.tests=Testes\: 30 | param.tests.appc-checker=XHTML - Apêndice C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=Cabeçalho do http 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=Mídia de exibição\: 36 | param.usermedium.all=Todos (all) 37 | param.usermedium.aural=Aural (aural) 38 | param.usermedium.braille=Braile (braille) 39 | param.usermedium.embossed=Relevo (embossed) 40 | param.usermedium.handheld=Dispositivos portáteis (handheld) 41 | param.usermedium.presentation=Apresentação (presentation) 42 | param.usermedium.print=Impresso (print) 43 | param.usermedium.projection=Projeção (projection) 44 | param.usermedium.screen=Tela (screen) 45 | param.usermedium.tty=TTY 46 | param.usermedium.tv=Televisão (tv) 47 | param.warning=Avisos\: 48 | param.warning.0=Mais importante 49 | param.warning.1=Relatório normal 50 | param.warning.2=Todos 51 | param.warning.no=Nenhum aviso 52 | test=Testar tarefa 53 | test.description=Esta tarefa permite que desenvolvedores testem a saída produzida pela Unicorn. Envie um arquivo de resposta do Unicorn e veja o resultado. 54 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/ro.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Fineas Gavre 2 | #Fri Sep 20 13:00:36 UTC 2013 3 | param.warning=Avertizări\: 4 | param.warning.1=Raport normal 5 | param.warning.2=Totul 6 | param.warning.no=Nicio avertizare 7 | test=testeaza actiunea 8 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/ru.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Kirill Danshin 2 | #Thu Oct 17 15:36:47 UTC 2013 3 | conformance=Общая проверка 4 | conformance.description=Выполнить все возможные проверки. 5 | custom=Пользовательская задача 6 | custom.description=Позволяет Вам выбрать, какие проверки выполнить 7 | custom.param.usermedium=Тип устройства\: 8 | custom.param.warning=Уровень замечаний CSS\: 9 | feed=Проверка новостных лент 10 | feed.description=Проверять синтаксис лент Atom и RSS 11 | full-css=Проверка CSS профиля 12 | full-css.description=Проверка по стандартам CSS 1, CSS 2, CSS 2.1 и CSS 3 13 | http=Проверка HTTP 14 | i18n=Проверка интернационализации 15 | i18n.description=Предоставляет информацию об интернационализационных аспектах Вашей HTML страницы 16 | param.charset=Кодировка\: 17 | param.doctype=Doctype\: 18 | param.profile=Профиль CSS\: 19 | param.profile.atsc-tv=Профиль ATSC TV 20 | param.profile.css1=CSS уровень 1 21 | param.profile.css2=CSS уровень 2 22 | param.profile.css21=CSS уровень 2.1 23 | param.profile.css3=CSS уровень 3 24 | param.profile.mobile=Мобильный 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=SVG Basic 27 | param.profile.svgtiny=SVG Tiny 28 | param.profile.tv=Профиль TV 29 | param.tests=Тесты\: 30 | param.tests.appc-checker=XHTML — Приложение C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=HTTP Заголовки 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=Тип устройства\: 36 | param.usermedium.all=Все (все) 37 | param.usermedium.aural=Слуховое (слуховое) 38 | param.usermedium.braille=Брайль (Брайль) 39 | param.usermedium.embossed=Рельефное (рельефное) 40 | param.usermedium.handheld=Портативное (портативное) 41 | param.usermedium.presentation=Презентация (презентация) 42 | param.usermedium.print=Печать (печать) 43 | param.usermedium.projection=Проектор (проектор) 44 | param.usermedium.screen=Экран (экран) 45 | param.usermedium.tty=TTY (tty) 46 | param.usermedium.tv=ТВ (тв) 47 | param.warning=Замечания\: 48 | param.warning.0=Самое важное 49 | param.warning.1=Обычный отчёт 50 | param.warning.2=Все 51 | param.warning.no=Замечаний нет 52 | test=Тестовая задача 53 | test.description=Эта задача позволяет разработчикам протестировать свой результат выданный Unicorn’ом. Отправьте файл ответа Unicorn’а и посмотрите результат. 54 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/sk.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Pavol \u010Euroska 2 | #Mon Feb 13 12:06:53 UTC 2012 3 | conformance=Všeobecná kontrola prispôsobenosti 4 | conformance.description=Vykonáva toľko kontrol koľko je len možné 5 | custom=Užívateľská úloha 6 | custom.description=Dovoľuje ti vybrať, ktoré kontroly vykonať 7 | custom.param.usermedium=CSS Užívateľské médium\: 8 | custom.param.warning=CSS Úroveň varovania\: 9 | feed=Odkazový validátor 10 | feed.description=Kontroluje syntax Atomu alebo RSS odkazov 11 | full-css=Validácia CSS profilu 12 | full-css.description=Kontroluje platnosť voči CSS 1, CSS 2, CSS 2.1 a CSS 3 profilom 13 | i18n=Kontrola iternacionalizacie 14 | i18n.description=Poskytuje informácie o aspektoch vašej HTML stránky týkajúce sa iternacionalizacie 15 | param.charset=Charset\: 16 | param.doctype=Doctype\: 17 | param.profile=CSS profil\: 18 | param.profile.atsc-tv=ATSC TV profil 19 | param.profile.css1=CSS úroveň 1 20 | param.profile.css2=CSS úroveň 2 21 | param.profile.css21=CSS úroveň 2.1 22 | param.profile.css3=CSS úroveň 3 23 | param.profile.mobile=Mobil 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG základné 26 | param.profile.svgtiny=SVG maličké 27 | param.profile.tv=TV profil 28 | param.tests=Testy\: 29 | param.tests.appc-checker=XHTML - Príloha C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Užívateľské médium\: 34 | param.usermedium.all=Všetko (all) 35 | param.usermedium.aural=Počuteľnosť (aural) 36 | param.usermedium.braille=Slepecké (braille) 37 | param.usermedium.embossed=Vyrazené (embossed) 38 | param.usermedium.handheld=Ručné (handheld) 39 | param.usermedium.presentation=Prezentácia (presentation) 40 | param.usermedium.print=Tlač (print) 41 | param.usermedium.projection=Projekcia (projection) 42 | param.usermedium.screen=Obrazovka (screen) 43 | param.usermedium.tty=TTY (tty) 44 | param.usermedium.tv=TV (tv) 45 | param.warning=Varovania\: 46 | param.warning.0=Najdôležitejšie 47 | param.warning.1=Normálne hlásenie 48 | param.warning.2=Všetko 49 | param.warning.no=Žiadne varovania 50 | test=Testovacia úloha 51 | test.description=Táto úloha umožnuje otestovať výstup z Unicornu.Odošlite súbor Unicornu a sledujte výsledok. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/sl.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Domen 2 | #Sat Oct 26 19:36:40 UTC 2013 3 | conformance=Splošni preizkus skladnosti 4 | conformance.description=Izvede vse možne preglede. 5 | custom=Opravilo po izbiri 6 | custom.description=Omogoča vam izbiro preizkusov za izvajanje 7 | custom.param.usermedium=Medij CSS uporabnika\: 8 | custom.param.warning=Stopnja opozoril CSS\: 9 | feed=Preverjalnik virov 10 | feed.description=Preveri skladnjo virov Atom ali RSS 11 | full-css=Preverjalnik različic CSS 12 | full-css.description=Preveri veljavnost v skladu z različicami CSS 1, CSS 2, CSS 2.1 in CSS 3 13 | http=Preverjalnik HTTP 14 | i18n=Preverjalnik internacionalizacije 15 | i18n.description=Nudi informacije o vidikih vaše strani HTML, vezanih na internacionalizacijo. 16 | param.charset=Charset\: 17 | param.doctype=Doctype\: 18 | param.profile=Različica CSS\: 19 | param.profile.atsc-tv=Profil ATSC TV 20 | param.profile.css1=CSS stopnje 1 21 | param.profile.css2=CSS stopnje 2 22 | param.profile.css21=CSS stopnje 2.1 23 | param.profile.css3=CSS stopnje 3 24 | param.profile.mobile=Mobilno 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=SVG Basic 27 | param.profile.svgtiny=SVG Tiny 28 | param.profile.tv=Profil TV 29 | param.tests=Preizkusi\: 30 | param.tests.appc-checker=XHTML - Dodatek C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=Glave HTTP 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=Medij uporabnika\: 36 | param.usermedium.all=Vse (all) 37 | param.usermedium.aural=Slušno (aural) 38 | param.usermedium.braille=Braille (braille) 39 | param.usermedium.embossed=Reliefno (embossed) 40 | param.usermedium.handheld=Ročne naprave (handheld) 41 | param.usermedium.presentation=Predstavitev (presentation) 42 | param.usermedium.print=Tisk (print) 43 | param.usermedium.projection=Projeciranje (projection) 44 | param.usermedium.screen=Zaslon (screen) 45 | param.usermedium.tty=Besedilna naprava (tty) 46 | param.usermedium.tv=Televizor (tv) 47 | param.warning=Opozorila\: 48 | param.warning.0=Najpomembnejše 49 | param.warning.1=Navadno poročilo 50 | param.warning.2=Vse 51 | param.warning.no=Brez opozoril 52 | test=Opravilo preizkušanja 53 | test.description=Opravilo omogoča razvijalcem preizkusiti njihovo izhodno besedilo Unicorna. Oddajte datoteko z odgovorom Unicorna in opazujte rezultat. 54 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/sv.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Dan Marberg 2 | #Wed Aug 10 04:36:19 UTC 2011 3 | conformance=Allmän konformitetskontroll 4 | conformance.description=Utför så många kontroller som möjligt. 5 | custom=Användardefinierad granskning 6 | custom.description=Låter dig välja vilka uppgifter som skall utföras. 7 | custom.param.usermedium=CSS användarmedium\: 8 | custom.param.warning=CSS Varningsnivå\: 9 | feed=Validerare av nyhetskanaler 10 | feed.description=Kontrollerar syntax hos Atom- och RSS-kanaler 11 | full-css=CSS Profile-validering 12 | full-css.description=Kontrollerar validiteten mot CSS 1, CSS 2, CSS 2.1 och CSS 3 profilerna 13 | i18n=Internationaliserings testare 14 | i18n.description=Ger information om internationaliserings aspekter av din HTML-sida 15 | param.charset=Charset\: 16 | param.doctype=Doctype\: 17 | param.profile=CSS-profil\: 18 | param.profile.atsc-tv=ATCS TV-profil 19 | param.profile.css1=CSS Nivå 1 20 | param.profile.css2=CSS Nivå 2 21 | param.profile.css21=CSS Nivå 2.1 22 | param.profile.css3=CSS Nivå 3 23 | param.profile.mobile=Mobil 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG Basic 26 | param.profile.svgtiny=SVG Tiny 27 | param.profile.tv=TV-profil 28 | param.tests=Tester\: 29 | param.tests.appc-checker=XHTML - Appendix C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Användarmedium\: 34 | param.usermedium.all=Samtliga (all) 35 | param.usermedium.aural=Ljud (aural) 36 | param.usermedium.braille=Braille (braille) 37 | param.usermedium.embossed=Präglad (embossed) 38 | param.usermedium.handheld=Handenhet (handheld) 39 | param.usermedium.presentation=Presentation (presentation) 40 | param.usermedium.print=Utskrift (print) 41 | param.usermedium.projection=Projektion (projection) 42 | param.usermedium.screen=Bildskärm (screen) 43 | param.usermedium.tty=TTY (tty) 44 | param.usermedium.tv=TV (tv) 45 | param.warning=Varningar\: 46 | param.warning.0=De viktigaste 47 | param.warning.1=Normal rapport 48 | param.warning.2=Samtliga 49 | param.warning.no=Inga varningar 50 | test=Testfall 51 | test.description=Med denna bearbetning kan utvecklare testa utdata från Unicorn. Skicka in svarsfil från Unicorn och se på resultatet. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/te.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Veeven 2 | #Fri Oct 05 14:34:20 UTC 2012 3 | conformance=సాధారణ నియమబద్ధతకై సరిచూత 4 | conformance.description=సాధ్యమైనన్ని ఎక్కువ పరీక్షలు నిర్వహిస్తుంది 5 | custom=అనురూపిత పని 6 | custom.description=ఏయే పరీక్షలు నిర్వహించాలో మిమ్మల్ని ఎంచుకోనిస్తుంది 7 | custom.param.usermedium=CSS వాడుకరి మాథ్యమం\: 8 | custom.param.warning=CSS హెచ్చరిక స్థాయి\: 9 | feed=ఫీడ్ ప్రామాణికము-వాలిడేటర్ 10 | feed.description=RSS లేదా ఆటమ్ ఫీడులను సరిచూస్తుంది 11 | full-css=CSS సరిచూత 12 | full-css.description=CSS1, CSS 2, CSS 2.1 మరియు CSS 3 ప్రకారం సరిచూస్తుంది 13 | http=HTTP సరిచూత 14 | i18n=అంతర్జాతీయీకరణ సరిచూత 15 | i18n.description=మీ HTML పేజీ యొక్క అంతర్జాతీయీకరణ సంబంధిత అంశాలపై సమాచారాన్ని ఇస్తుంది. 16 | param.charset=చార్‌సెట్\: 17 | param.doctype=డాక్‌టైప్\: 18 | param.profile=CSS ప్రవర\: 19 | param.profile.atsc-tv=ATSC TV ప్రవర 20 | param.profile.css1=CSS లెవెల్ 1 21 | param.profile.css2=CSS లెవెల్ 2 22 | param.profile.css21=CSS లెవెల్ 2.1 23 | param.profile.css3=CSS లెవెల్ 3 24 | param.profile.mobile=మొబైల్ 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=ప్రాధమిక SVG 27 | param.profile.svgtiny=చిన్నSVG 28 | param.profile.tv=టివి ప్రొఫైల్ 29 | param.tests=పరీక్షలు\: 30 | param.tests.appc-checker=XHTML - అనుబంధము C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/ఆటమ్ 33 | param.tests.http=HTTP శీర్షికలు 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=వాడుకరి మాధ్యమం\: 36 | param.usermedium.all=అన్నీ (all) 37 | param.usermedium.aural=శ్రవణ (aural) 38 | param.usermedium.braille=బ్రెయిలీ (braille) 39 | param.usermedium.embossed=ఎంబోస్ చేసిన పనిముట్ట్లు (embossed) 40 | param.usermedium.handheld=చేతిలో అమరే పనిముట్తు (handheld) 41 | param.usermedium.presentation=ప్రదర్శన (presentation) 42 | param.usermedium.print=ముద్రణ (print) 43 | param.usermedium.projection=ప్రొజెక్షన్ (projection) 44 | param.usermedium.screen=తెర (screen) 45 | param.usermedium.tty=TTY (tty) 46 | param.usermedium.tv=టీవీ (tv) 47 | param.warning=హెచ్చరికలు\: 48 | param.warning.0=అత్యంత ప్రాముఖ్యం 49 | param.warning.1=సాధారణ నివేదిక 50 | param.warning.2=అన్నీ 51 | param.warning.no=హెచ్చరికలు వద్దు 52 | test=పరీక్ష పని 53 | test.description=యూనికార్న్ నుండి వచ్చిన ఔట్‌పుట్‌ను డెవలపర్లు పరీక్షించేందుకు ఈ పని అనుమతిస్తుంది. యూనికార్న్ స్పందన దస్త్రాన్ని దాఖలుచేసి ఫలితాన్ని చూడండి. 54 | unicorn=యూనికార్స్ రికర్సివ్ (పరీక్ష) 55 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/th.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Submitted by Alisa 2 | #Thu Jun 10 20:59:43 UTC 2010 3 | conformance=ตรวจความสอดคล้องทั่วไป 4 | conformance.description=ตรวจสอบทุกมาตรฐานเท่าที่จะทำได้ 5 | custom=ปรับแต่งการตรวจสอบ 6 | custom.description=ท่านสามารถเลือกว่าต้องการให้ทำการตรวจสอบใดบ้าง 7 | custom.param.usermedium=ประเภทสื่อ CSS 8 | custom.param.warning=ระดับคำเตือน CSS 9 | feed=ตัวตรวจสอบ Feed 10 | feed.description=ตรวจสอบ syntax ของ feeds Atom หรือ RSS 11 | full-css.description=ทำการตรวจสอบความสอดคล้องกับ CSS 1, CSS 2, CSS 2.1 และ CSS 3 profiles 12 | param.charset=Charset: 13 | param.doctype=Doctype: 14 | param.profile=CSS โปรไฟล์ 15 | param.profile.atsc-tv=ATSC TV Profile 16 | param.profile.css1=CSS Level 1 17 | param.profile.css2=CSS Level 2 18 | param.profile.css21=CSS Level 2.1 19 | param.profile.css3=CSS Level 3 20 | param.profile.mobile=มือถือ 21 | param.profile.svg=SVG 22 | param.profile.svgbasic=SVG Basic 23 | param.profile.svgtiny=SVG Tiny 24 | param.profile.tv=TV Profile 25 | param.tests=ทดสอบ\: 26 | param.tests.appc-checker=XHTML - ภาคผนวก C 27 | param.tests.css-validator=CSS 28 | param.tests.feed=RSS/Atom 29 | param.tests.markup-validator=(X)HTML 30 | param.usermedium=ประเภทสื่อ 31 | param.usermedium.all=ทั้งหมด(ทั้งหมด) 32 | param.usermedium.aural=เครื่องสังเคราะห์เสียง 33 | param.usermedium.braille=อักษรเบลล์ 34 | param.usermedium.embossed=เครื่องพิมพ์อักษรเบลล์ 35 | param.usermedium.handheld=อุปกรณ์พกพา 36 | param.usermedium.presentation=สื่อนำเสนอ 37 | param.usermedium.print=พิมพ์ (พิมพ์) 38 | param.usermedium.projection=เครื่องโปรเจคเตอร์ 39 | param.usermedium.screen=หน้าจอ (หน้าจอ) 40 | param.usermedium.tty=โทรพิมพ์ 41 | param.usermedium.tv=TV (tv) 42 | param.warning=คำเตือน\: 43 | param.warning.0=สำคัญที่สุด 44 | param.warning.1=รายงานธรรมดา 45 | param.warning.2=ทั้งหมด 46 | param.warning.no=ไม่มีการเตือน 47 | test=แบบทดสอบ 48 | test.description=แบบทดสอบนี้อนุญาตให้ผู้พัฒนาทดสอบผลลัพท์ของ Unicorn ได้ ส่งไฟล์ตอบรับของ Unicorn แล้วดูผลลัพท์ 49 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/tr.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Mustafa Gülsün 2 | #Fri Aug 12 00:27:59 UTC 2011 3 | conformance=Genel Uygunluk Denetlemesi 4 | conformance.description=Olabildiğince çok denetleme gerçekleştirir. 5 | custom=Özel görev 6 | custom.description=Hangi denetlemelerin gerçekleştirileceğini seçmenizi sağlar. 7 | custom.param.usermedium=CSS Kullanıcı Aracı\: 8 | custom.param.warning=CSS Uyarı Seviyesi\: 9 | feed=Besleme Doğrulayıcısı 10 | feed.description=Atom veya RSS beslemelerinin söz dizilimini denetler 11 | full-css=CSS Biçim Doğrulaması 12 | full-css.description=CSS 1, CSS 2, CSS 2.1 ve CSS 3 biçimlerinin doğruluğunu denetler. 13 | i18n=Uluslararasılaşma Denetleyicisi 14 | i18n.description=HTML sayfanızın uluslararasılaşma ile ilgili yönleri hakkında bilgi sağlar. 15 | param.charset=Charset\: 16 | param.doctype=Doctype\: 17 | param.profile=CSS Biçimi\: 18 | param.profile.atsc-tv=ATSC TV Biçimi 19 | param.profile.css1=CSS Seviye 1 20 | param.profile.css2=CSS Seviye 2 21 | param.profile.css21=CSS Seviye 2.1 22 | param.profile.css3=CSS Seviye 3 23 | param.profile.mobile=Mobil 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG Temel 26 | param.profile.svgtiny=SVG Ufak 27 | param.profile.tv=TV Biçimi 28 | param.tests=Testler\: 29 | param.tests.appc-checker=XHTML - Ek C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Kullanıcı aracı\: 34 | param.usermedium.all=Tümü (tümü) 35 | param.usermedium.aural=İşitsel (işitsel) 36 | param.usermedium.braille=Kör alfabesi (kör alfabesi) 37 | param.usermedium.embossed=Kabartmalı (kabartmalı) 38 | param.usermedium.handheld=Elle kullanılan (elle kullanılan) 39 | param.usermedium.presentation=Sunum (sunum) 40 | param.usermedium.print=Yazdır (yazdır) 41 | param.usermedium.projection=Projeksiyon (projeksiyon) 42 | param.usermedium.screen=Ekran (ekran) 43 | param.usermedium.tty=Teletip (teletip) 44 | param.usermedium.tv=TV (tv) 45 | param.warning=Uyarılar\: 46 | param.warning.0=En önemli 47 | param.warning.1=Normal rapor 48 | param.warning.2=Tümü 49 | param.warning.no=Uyarı yok 50 | test=Deneme görev 51 | test.description=Bu görev geliştiricilerin Unicorn çıktısını test etmelerini sağlar. Bir Unicorn cevap dosyası seçin ve sonuçları izleyin. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/uk.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Submitted by Valerii 2 | #Fri Aug 06 08:51:25 UTC 2010 3 | conformance=Загальна перевірка відповідності 4 | conformance.description=Виконати стільки перевірок, скільки можливо. 5 | custom=Власне завдання 6 | custom.description=Дозволяє Вам обрати, котру перевірку виконати 7 | custom.param.usermedium=CSS User Medium\: 8 | custom.param.warning=Рівень попередження CSS\: 9 | feed=Валідатор стрічки новин 10 | feed.description=Перевірити синтаксис Atom або RSS стрічок 11 | full-css=Валідація CSS-профілю 12 | full-css.description=Перевірити валідність згідно CSS 1, CSS 2, CSS 2.1 та CSS 3 профілів 13 | param.charset=Charset: 14 | param.doctype=Doctype: 15 | param.profile=CSS Профіль\: 16 | param.profile.atsc-tv=ATSC TV Профіль 17 | param.profile.css1=CSS Рівень 1 18 | param.profile.css2=CSS Рівень 2 19 | param.profile.css21=CSS Рівень 2.1 20 | param.profile.css3=CSS Рівень 3 21 | param.profile.mobile=Мобільний 22 | param.profile.svg=SVG 23 | param.profile.svgbasic=SVG Basic 24 | param.profile.svgtiny=SVG Tiny 25 | param.profile.tv=TV Профіль 26 | param.tests=Тести\: 27 | param.tests.appc-checker=XHTML - Додаток C 28 | param.tests.css-validator=CSS 29 | param.tests.feed=RSS/Atom 30 | param.tests.markup-validator=(X)HTML 31 | param.usermedium=User Medium\: 32 | param.usermedium.all=Всі (всі) 33 | param.usermedium.aural=Слухове (слухове) 34 | param.usermedium.braille=Брайля (брайля) 35 | param.usermedium.embossed=Тисненням (тисненням) 36 | param.usermedium.handheld=Ручне (портативне) 37 | param.usermedium.presentation=Презентація (презентація) 38 | param.usermedium.print=Друк (друк) 39 | param.usermedium.projection=Проектор (проектор) 40 | param.usermedium.screen=Екран (екран) 41 | param.usermedium.tty=TTY (tty) 42 | param.usermedium.tv=ТВ (тв) 43 | param.warning=Попередження\: 44 | param.warning.0=Найважливіше 45 | param.warning.1=Нормальний звіт 46 | param.warning.2=Всі 47 | param.warning.no=Нема попереджень 48 | test=Тестове завдання 49 | test.description=Це завдання дозволяє розробникам протестувати вихідний код Unicorn-а. Надайте файл відповіді Unicorn-а і подивіться на результат. 50 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/vi.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by V\u0169 \u0110\u1EAFc Hoàng Ân 2 | #Thu Aug 11 15:41:25 UTC 2011 3 | conformance=Kiểm tra tương thích chung 4 | conformance.description=Thực hiện các bài kiểm tra có thể. 5 | custom=Tác vụ tùy chỉnh 6 | custom.description=Bạn hãy chọn bài kiểm tra để thực hiện 7 | custom.param.usermedium=Môi trường người dùng CSS 8 | custom.param.warning=Mức độ cảnh báo CSS 9 | feed=Chia sẻ nội dung máy kiểm định 10 | feed.description=Kiểm tra cú pháp chia sẻ RSS hoặc Atom 11 | full-css=Kiểm định đặc trưng CSS 12 | full-css.description=Kiểm tra tính hợp lệ dựa vào đặc trưng CSS 1, CSS 2, CSS 2.1 và CSS 3 13 | i18n=Kiểm tra sự quốc tế hóa 14 | i18n.description=Cung cấp thông tin về phương diện mối quan hệ quốc tế trên trang HTML của bạn 15 | param.charset=Bộ kí tự 16 | param.doctype=Kiểu tài liệu 17 | param.profile=Đặc trưng CSS 18 | param.profile.atsc-tv=Đặc trưng ATSC TV 19 | param.profile.css1=CSS bậc 1 20 | param.profile.css2=CSS bậc 2 21 | param.profile.css21=CSS bậc 2.1 22 | param.profile.css3=CSS bậc 3 23 | param.profile.mobile=Di động 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=SVG cơ bản 26 | param.profile.svgtiny=SVG nhỏ 27 | param.profile.tv=Đặc trưng TV 28 | param.tests=Kiểm tra\: 29 | param.tests.appc-checker=XHTML - thêm vào C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=Môi trường người dùng\: 34 | param.usermedium.all=Toàn bộ 35 | param.usermedium.aural=Nghe được 36 | param.usermedium.braille=Chữ nổi 37 | param.usermedium.embossed=Dập nổi 38 | param.usermedium.handheld=Cầm tay 39 | param.usermedium.presentation=Trình bày 40 | param.usermedium.print=Bản in 41 | param.usermedium.projection=Bản chiếu 42 | param.usermedium.screen=Màn chiếu 43 | param.usermedium.tty=TTY 44 | param.usermedium.tv=TV 45 | param.warning=Cảnh báo\: 46 | param.warning.0=Quan trọng nhất là 47 | param.warning.1=Báo cáo chuẩn 48 | param.warning.2=Tất cả 49 | param.warning.no=Không có cảnh báo 50 | test=Kiểm tra tác vụ 51 | test.description=Tác vụ này cho phép người phát triển kiểm tra sản phẩm Unicorn của họ. Gửi tập tin hồi đáp và xem kết quả. 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/zh-Hans.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by Blutrex Rebile 2 | #Wed Oct 02 15:21:43 UTC 2013 3 | conformance=常规符合检查 4 | conformance.description=执行最多检查 5 | custom=自定义任务 6 | custom.description=让你选择执行那些选项 7 | custom.param.usermedium=CSS 用户媒介: 8 | custom.param.warning=CSS 警告等级: 9 | feed=Feed 验证: 10 | feed.description=检查 Atom 或 RSS feeds 语法 11 | full-css=CSS 配置文件验证 12 | full-css.description=检查 CSS 1, CSS 2, CSS 2.1 和 CSS 3 配置文件的有效性 13 | http=HTTP 检查器 14 | i18n=国际化检查 15 | i18n.description=提供你的HTML页面相关的国际化信息 16 | param.charset=Charset\: 17 | param.doctype=Doctype\: 18 | param.profile=CSS 配置文件 19 | param.profile.atsc-tv=ATSC 电视配置文件 20 | param.profile.css1=CSS 级别1 21 | param.profile.css2=CSS 级别2 22 | param.profile.css21=CSS 级别2.1 23 | param.profile.css3=CSS 级别3 24 | param.profile.mobile=移动式 25 | param.profile.svg=SVG 26 | param.profile.svgbasic=SVG 基本 27 | param.profile.svgtiny=SVG 微型 28 | param.profile.tv=电视配置文件 29 | param.tests=测试: 30 | param.tests.appc-checker=XHTML - 附录 C 31 | param.tests.css-validator=CSS 32 | param.tests.feed=RSS/Atom 33 | param.tests.http=HTTP 头信息 34 | param.tests.markup-validator=(X)HTML 35 | param.usermedium=用户媒体: 36 | param.usermedium.all=所有 37 | param.usermedium.aural=听觉式 38 | param.usermedium.braille=盲人专用 39 | param.usermedium.embossed=凸起式 40 | param.usermedium.handheld=手持式 41 | param.usermedium.presentation=演示 42 | param.usermedium.print=打印 43 | param.usermedium.projection=投影机 44 | param.usermedium.screen=屏幕 45 | param.usermedium.tty=电传打字机 46 | param.usermedium.tv=电视机 47 | param.warning=警告: 48 | param.warning.0=最重要的 49 | param.warning.1=正常 50 | param.warning.2=全部 51 | param.warning.no=没有警告 52 | test=测试任务 53 | test.description=此任务能让开发者测试他们的 Unicorn 结果。 提交 Unicorn 响应文件并查看结果。 54 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/languages/tasks/zh-Hant.tasklist.properties: -------------------------------------------------------------------------------- 1 | #Last submission by 林博仁 2 | #Wed Dec 07 05:07:27 UTC 2011 3 | conformance=全套的標準驗證 4 | conformance.description=執行所有可能的驗證 5 | custom=自定義工作 6 | custom.description=讓你選擇想執行的驗證 7 | custom.param.usermedium=CSS的使用媒體: 8 | custom.param.warning=CSS的報告層級: 9 | feed=Feed驗證 10 | feed.description=驗證Atom或是RSS的文法 11 | full-css=CSS驗證專頁 12 | full-css.description=使用CSS 1、CSS 2、CSS 2.1、CSS3 profiles驗證 13 | i18n=國際化程度檢查器 14 | i18n.description=提供您的HTML頁面跟國際化有關方面的資訊 15 | param.charset=字符集: 16 | param.doctype=文檔類型: 17 | param.profile=CSS 設置: 18 | param.profile.atsc-tv=ATSC TV 設置 19 | param.profile.css1=CSS Level 1 20 | param.profile.css2=CSS Level 2 21 | param.profile.css21=CSS Level 2.1 22 | param.profile.css3=CSS Level 3 23 | param.profile.mobile=流動電話 24 | param.profile.svg=SVG 25 | param.profile.svgbasic=基本SVG 26 | param.profile.svgtiny=細緻SVG 27 | param.profile.tv=電視設置 28 | param.tests=測試: 29 | param.tests.appc-checker=XHTML - 附錄C 30 | param.tests.css-validator=CSS 31 | param.tests.feed=RSS/Atom 32 | param.tests.markup-validator=(X)HTML 33 | param.usermedium=使用媒體: 34 | param.usermedium.all=全部 35 | param.usermedium.aural=聽覺 36 | param.usermedium.braille=點字 37 | param.usermedium.embossed=浮雕 38 | param.usermedium.handheld=攜帶裝置 39 | param.usermedium.presentation=報告 40 | param.usermedium.print=印刷 41 | param.usermedium.projection=投影 42 | param.usermedium.screen=螢幕 43 | param.usermedium.tty=TTY(終端) 44 | param.usermedium.tv=電視 45 | param.warning=警告: 46 | param.warning.0=最重要 47 | param.warning.1=一般報告CSS validator 48 | param.warning.2=全部 49 | param.warning.no=無警告 50 | test=測試任務 51 | test.description=這項工作讓開發者測試他們的Unicorn輸出。傳送一個Unicorn回傳檔以觀察結果。 52 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/lib/icu4j-4_4_1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/WEB-INF/lib/icu4j-4_4_1.jar -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/contracts/appc-checker-validator.wadl: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | default 12 | 13 | W3C XHTML 1.0 Appendix C checker 14 | W3C Validateur XHTML 1.0 Appendice C 15 | 16 | text/html 17 | 18 | output 19 | 20 | 21 | URI 22 | uri 23 | 24 | 25 | 26 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/contracts/feed-validator.wadl: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | default 13 | 14 | Feed Validator 15 | 16 | application/xml 17 | application/atom+xml 18 | text/xml 19 | text/html 20 | 21 | output 22 | 23 | 24 | URI 25 | url 26 | 27 | 28 | 29 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/contracts/http.wadl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | default 7 | 8 | HTTP Checker 9 | 10 | text/html 11 | 12 | output 13 | 14 | 15 | URI 16 | ca_uri 17 | 18 | 19 | 20 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/contracts/i18n.wadl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | default 7 | 8 | W3C Internationalization Checker 9 | 10 | text/html 11 | application/xml 12 | text/xml 13 | 14 | 15 | URI 16 | uri 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | UPLOAD 25 | uri 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/contracts/test.wadl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | default 7 | 8 | Test Validator 9 | 10 | application/xml 11 | text/xml 12 | 13 | 14 | URI 15 | uri 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/contracts/unicorn.wadl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | default 7 | 8 | Unicorn Web Service 9 | 10 | text/html 11 | 12 | lang 13 | output 14 | 15 | 16 | URI 17 | ucn_uri 18 | 19 | 20 | 21 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/contracts/valnu.wadl: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | valnu 12 | 13 | Nu Html Checker 14 | 15 | text/html 16 | application/xhtml+xml 17 | application/xml 18 | image/svg+xml 19 | application/mathml+xml 20 | application/smil+xml 21 | 22 | out 23 | 24 | 25 | URI 26 | doc 27 | 28 | 29 | 30 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/images/unicons_sprite.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/WEB-INF/resources/images/unicons_sprite.psd -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/schemas/xhtml/xhtml-blkstruct-1.xsd: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | Block Structural 15 | 16 | * div, p 17 | 18 | This module declares the elements and their attributes used to 19 | support block-level structural markup. 20 | 21 | This is the XML Schema Block Structural module for XHTML 22 | $Id: xhtml-blkstruct-1.xsd,v 1.1 2009-10-14 17:27:55 tgambet Exp $ 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/schemas/xhtml/xhtml-copyright-1.xsd: -------------------------------------------------------------------------------- 1 | 2 | 7 | 9 | 10 | 11 | This is XHTML, a reformulation of HTML as a modular XML application 12 | The Extensible HyperText Markup Language (XHTML) 13 | Copyright ©1998-2005 World Wide Web Consortium 14 | (Massachusetts Institute of Technology, European Research Consortium 15 | for Informatics and Mathematics, Keio University). 16 | All Rights Reserved. 17 | 18 | Permission to use, copy, modify and distribute the XHTML Schema 19 | modules and their accompanying xs:documentation for any purpose 20 | and without fee is hereby granted in perpetuity, provided that the above 21 | copyright notice and this paragraph appear in all copies. 22 | The copyright holders make no representation about the suitability of 23 | these XML Schema modules for any purpose. 24 | 25 | They are provided "as is" without expressed or implied warranty. 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/schemas/xhtml/xhtml-hypertext-1.xsd: -------------------------------------------------------------------------------- 1 | 2 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | Hypertext Module 16 | This is the XML Schema Hypertext module for XHTML 17 | 18 | * a 19 | 20 | This module declares the anchor ('a') element type, which 21 | defines the source of a hypertext link. The destination 22 | (or link 'target') is identified via its 'id' attribute 23 | rather than the 'name' attribute as was used in HTML. 24 | 25 | $Id: xhtml-hypertext-1.xsd,v 1.1 2009-10-14 17:27:55 tgambet Exp $ 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/schemas/xhtml/xhtml-image-1.xsd: -------------------------------------------------------------------------------- 1 | 2 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | Images 15 | This is the XML Schema Images module for XHTML 16 | 17 | * img 18 | 19 | This module provides markup to support basic image embedding. 20 | 21 | To avoid problems with text-only UAs as well as to make 22 | image content understandable and navigable to users of 23 | non-visual UAs, you need to provide a description with 24 | the 'alt' attribute, and avoid server-side image maps. 25 | 26 | 27 | $Id: xhtml-image-1.xsd,v 1.1 2009-10-14 17:27:55 tgambet Exp $ 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/schemas/xhtml/xhtml-inlstruct-1.xsd: -------------------------------------------------------------------------------- 1 | 2 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | This is the XML Schema Inline Structural support module for XHTML 16 | $Id: xhtml-inlstruct-1.xsd,v 1.1 2009-10-14 17:27:55 tgambet Exp $ 17 | 18 | 19 | 20 | 21 | 22 | Inline Structural. 23 | This module declares the elements and their attributes 24 | used to support inline-level structural markup. 25 | This is the XML Schema Inline Structural element module for XHTML 26 | 27 | * br, span 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/schemas/xhtml/xhtml-text-1.xsd: -------------------------------------------------------------------------------- 1 | 2 | 7 | 9 | 10 | 11 | 12 | Textual Content 13 | This is the XML Schema Text module for XHTML 14 | 15 | The Text module includes declarations for all core 16 | text container elements and their attributes. 17 | 18 | + block phrasal 19 | + block structural 20 | + inline phrasal 21 | + inline structural 22 | 23 | $Id: xhtml-text-1.xsd,v 1.1 2009-10-14 17:27:54 tgambet Exp $ 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | Block Phrasal module 32 | Elements defined here: 33 | 34 | * address, blockquote, pre, h1, h2, h3, h4, h5, h6 35 | 36 | 37 | 38 | 39 | 40 | 41 | Block Structural module 42 | Elements defined here: 43 | 44 | * div, p 45 | 46 | 47 | 48 | 49 | 50 | 51 | Inline Phrasal module 52 | Elements defined here: 53 | 54 | * abbr, acronym, cite, code, dfn, em, kbd, q, samp, strong, var 55 | 56 | 57 | 58 | 59 | 60 | 61 | Inline Structural module 62 | Elements defined here: 63 | 64 | * br,span 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/templates/includes/head.vm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $title 5 | 6 | 7 | #foreach( $sheet in $css ) 8 | 9 | #end 10 | #foreach( $script in $js ) 11 | 12 | #end 13 | 14 | #if ($fav) 15 | 16 | #else 17 | 18 | #end 19 | 20 | 21 | 28 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/templates/includes/parameters.vm: -------------------------------------------------------------------------------- 1 | #set ($simple_parameters = $current_task.getMapOfParameter("simple")) 2 | #set ($advanced_parameters = $current_task.getMapOfParameter("advanced")) 3 | #if ($simple_parameters.size() > 0) 4 |
5 | $options 6 |
7 |
    8 | #foreach ($param in $simple_parameters) 9 |
  • 10 | #createParameter($param) 11 |
  • 12 | #end 13 |
14 |
15 |
16 | #end 17 | #if ($advanced_parameters.size() > 0) 18 |
19 | $extra_options 20 |
21 |
    22 | #foreach ($param in $advanced_parameters) 23 |
  • 24 | #createParameter($param) 25 |
  • 26 | #end 27 |
28 |
29 |
30 | #end 31 | #if ($advanced_parameters.size() == 0 && $simple_parameters.size() == 0) 32 |
33 |
34 | #end 35 | 36 | #if ($ajaxCall) 37 | #mimeList($current_task) 38 | #end -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/templates/init.vm: -------------------------------------------------------------------------------- 1 | #set ($title = "Unicorn") 2 | #set ($css = ['base_ucn.css', 'init.css']) 3 | ##set ($js = ['mootools-1.2.5-core-more-yc.js', 'w3c_unicorn_init.js']) 4 | #set ($js = ['mootools-1.3.2.js', 'w3c_unicorn_init.js']) 5 | #parse('head.vm') 6 | 7 |
8 |

Hi ${user}!

9 | 16 | 17 |
18 | 19 | #parse('footer.vm') -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/templates/language.mail.vm: -------------------------------------------------------------------------------- 1 | Submitted from $host 2 | ----------------------------------------------- 3 | #if(${new_interface_translation}) 4 | New interface translation in $language 5 | #elseif ($interfaceChanged) 6 | Updated interface $language translation 7 | #end 8 | #if(${new_tasklist_translation}) 9 | New tasklist translation in $language#elseif ($tasklistChanged) 10 | Updated tasklist $language translation#end 11 | 12 | Submitter: $translator_name <$translator_mail> 13 | #if($translator_comments) 14 | Submitter comments: 15 | $translator_comments 16 | #end 17 | 18 | #if($interfaceChanged) 19 | ----------------------------------------------- 20 | Interface ChangeLog: 21 | ----------------------------------------------- 22 | $interfaceChangeLog 23 | #end 24 | #if($tasklistChanged) 25 | ----------------------------------------------- 26 | Tasklist ChangeLog: 27 | ----------------------------------------------- 28 | $tasklistChangeLog 29 | #end -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/templates/language.properties.vm: -------------------------------------------------------------------------------- 1 | $interfaceProperties -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/templates/tasklist.properties.vm: -------------------------------------------------------------------------------- 1 | $tasklistProperties -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/templates/text.error.vm: -------------------------------------------------------------------------------- 1 | #if ($messages.size() > 0) 2 | 3 | #if ($messages.hasError()) 4 | $error_label 5 | #foreach ($message in $messages) 6 | #if ($message.Level == "ERROR") 7 | #evaluate($message.Message) 8 | $!{message.Content} 9 | #end 10 | #end 11 | #end 12 | 13 | #if ($messages.hasWarning()) 14 | $warning_label 15 | #foreach ($message in $messages) 16 | #if ($message.Level == "WARNING") 17 | #evaluate($message.Message) 18 | $!{message.Content} 19 | #end 20 | #end 21 | #end 22 | 23 | #if ($messages.hasInfo()) 24 | $info_label 25 | #foreach ($message in $messages) 26 | #if ($message.Level == "INFO") 27 | #evaluate($message.Message) 28 | $!{message.Content} 29 | #end 30 | #end 31 | #end 32 | 33 | #end -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/templates/xml.error.vm: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | #set($lang = $unicorncall.getLang()) 10 | #set($uri = $unicorncall.getDocumentName()) 11 | 12 | #foreach ($message in $messages) 13 | #if ($message.Level == 0) 14 | #set ($level = "info") 15 | #elseif ($message.Level == 1) 16 | #set ($level = "warning") 17 | #elseif ($message.Level == 2) 18 | #set ($level = "error") 19 | #end 20 | 21 | $message.getMessage($lang) 22 | #if ($message.Content) 23 |
#if($message.doEvaluateContent())#evaluate($message.Content)#else$!esc.html($message.Content)#end
24 | #end 25 |
26 | #end 27 | 28 |
-------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/templates/xml.vm: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | #set($lang = $unicorncall.getLang()) 10 | #set($uri = $unicorncall.getDocumentName()) 11 | #set($observationList = $unicorncall.ObservationList) 12 | #foreach ($observationName in $observationList.keySet()) 13 | #set ($observation = $observationList.get($observationName)) 14 | 15 | 16 | $unicorncall.getObserverName($observationName, $lang) 17 | 18 | 19 | #foreach($group in $observation.getGroups()) 20 | #if($group.hasParent())#set($parent=$group.getParentName())#else#set($parent=$observationName)#end 21 | 22 | $group.getTitle() 23 | #if($group.getDescription())$group.getDescription()#end 24 | 25 | #end 26 | 27 | #foreach($message in $observation.getMessages()) 28 | #if($message.getType()==2)#set($type="error")#elseif($message.getType()==1)#set($type="warning")#else#set($type="info")#end 29 | #if($message.getGroupName())#set($messageGroup=$message.getGroupName())#else#set($messageGroup=$observationName)#end 30 | 31 | #foreach($context in $message.getContexts()) 32 | 33 | $!context.getContext() 34 | 35 | #end 36 | $message.getTitle() 37 | #if($message.getDescription()) 38 | $message.getDescription() 39 | #end 40 | 41 | #end 42 | 43 | #end 44 | 45 | -------------------------------------------------------------------------------- /WebContent/WEB-INF/resources/tomcat_policy/05unicorn.policy: -------------------------------------------------------------------------------- 1 | /* AUTOMATICALLY GENERATED ON Mon Jul 10 18:00:18 CEST 2006*/ 2 | /* DO NOT EDIT */ 3 | 4 | grant codeBase "file:${catalina.home}/webapps/unicorn/-" { 5 | permission java.net.SocketPermission "*", "connect, resolve"; 6 | permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; 7 | permission java.util.PropertyPermission "*", "read"; 8 | permission java.lang.RuntimePermission "accessDeclaredMembers"; 9 | permission java.io.FilePermission "${catalina.home}/webapps/unicorn/WEB-INF/logs/-", "read, write, delete"; 10 | permission java.io.FilePermission "${catalina.home}/webapps/unicorn/WEB-INF/uploaded-files/*", "read, write, delete"; 11 | permission java.io.FilePermission "${catalina.home}/webapps/unicorn/*", "read, write, delete"; 12 | permission java.io.FilePermission "${catalina.home}/webapps/unicorn/temporary_files/*", "read, write, delete"; 13 | }; 14 | -------------------------------------------------------------------------------- /WebContent/images/I_heart_validator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/I_heart_validator.png -------------------------------------------------------------------------------- /WebContent/images/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/ajax-loader.gif -------------------------------------------------------------------------------- /WebContent/images/arrow-closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/arrow-closed.png -------------------------------------------------------------------------------- /WebContent/images/arrow-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/arrow-open.png -------------------------------------------------------------------------------- /WebContent/images/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/button.png -------------------------------------------------------------------------------- /WebContent/images/double.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/double.png -------------------------------------------------------------------------------- /WebContent/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/favicon.ico -------------------------------------------------------------------------------- /WebContent/images/favicon_green.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/favicon_green.ico -------------------------------------------------------------------------------- /WebContent/images/favicon_red.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/favicon_red.ico -------------------------------------------------------------------------------- /WebContent/images/globe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/globe.png -------------------------------------------------------------------------------- /WebContent/images/globe2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/globe2.png -------------------------------------------------------------------------------- /WebContent/images/grad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/grad.png -------------------------------------------------------------------------------- /WebContent/images/head-bl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/head-bl.png -------------------------------------------------------------------------------- /WebContent/images/head-br.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/head-br.png -------------------------------------------------------------------------------- /WebContent/images/icone_error_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/icone_error_b.png -------------------------------------------------------------------------------- /WebContent/images/icone_info_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/icone_info_2.png -------------------------------------------------------------------------------- /WebContent/images/icone_info_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/icone_info_b.png -------------------------------------------------------------------------------- /WebContent/images/icone_warning_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/icone_warning_b.png -------------------------------------------------------------------------------- /WebContent/images/opensource-75x65.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/opensource-75x65.png -------------------------------------------------------------------------------- /WebContent/images/qa-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/qa-small.png -------------------------------------------------------------------------------- /WebContent/images/round-br.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/round-br.png -------------------------------------------------------------------------------- /WebContent/images/round-tl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/round-tl.png -------------------------------------------------------------------------------- /WebContent/images/round-tr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/round-tr.png -------------------------------------------------------------------------------- /WebContent/images/tab-tl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/tab-tl.png -------------------------------------------------------------------------------- /WebContent/images/tab-tr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/tab-tr.png -------------------------------------------------------------------------------- /WebContent/images/textbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/textbg.png -------------------------------------------------------------------------------- /WebContent/images/unicons_sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/unicons_sprite.png -------------------------------------------------------------------------------- /WebContent/images/w3c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/w3c/Unicorn/4f11fd87b2bcf243f6124662d0ca693021825b8c/WebContent/images/w3c.png -------------------------------------------------------------------------------- /WebContent/index.html: -------------------------------------------------------------------------------- 1 | <-- File needed to make Unicorn work on Jetty --> -------------------------------------------------------------------------------- /WebContent/scripts/w3c_unicorn_init.js: -------------------------------------------------------------------------------- 1 | // Author: Thomas GAMBET. 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | var W3C = { 4 | 5 | start: function(){ 6 | 7 | W3C.Loader = new Element('img', {'src': '/unicorn/images/ajax-loader.gif', 'class': 'loader'}); 8 | 9 | $$('a.init').each(function(link, i) { 10 | var req = new Request.HTML({url: link.get('href'), 11 | link: 'ignore', 12 | noCache: 'true', 13 | method: 'get', 14 | update: $('result'), 15 | onRequest: function() { 16 | W3C.Loader.injectBefore($('result')); 17 | }, 18 | onComplete: function() { 19 | W3C.Loader.dispose(); 20 | } 21 | }); 22 | 23 | link.addEvent('click', function (event) { 24 | event.stop(); 25 | req.send(); 26 | }); 27 | }); 28 | 29 | } 30 | 31 | }; 32 | 33 | window.addEvent('domready', W3C.start); -------------------------------------------------------------------------------- /WebContent/style/init.css: -------------------------------------------------------------------------------- 1 | #init { 2 | margin:0 33px; 3 | } 4 | #init h1 { 5 | font-size:1.2em; 6 | margin-bottom:0.2em; 7 | } 8 | #init ul { 9 | margin-bottom:0.5em; 10 | } 11 | #init ul li:before { 12 | content:'-'; 13 | } 14 | #init ul li a { 15 | margin-left:0.2em; 16 | } 17 | img.loader { 18 | margin:0; 19 | } 20 | #init textarea { 21 | width:99%; 22 | } -------------------------------------------------------------------------------- /WebContent/tutorial/test_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This is a simple observation. 6 | See the source file of this validation. See next example. 7 | 8 | 9 | 10 | Unicorn uses a custom XML format. 11 | You can download the XML schema file of Unicorn responses on Unicorn public repository. 12 | 13 | 14 | 15 | The root element of a Unicorn response file is an observationresponse element. 16 | 17 | It has two required attributes: the xml:lang attribute and a ref attribute which are respectively the default language and URI of the checked document. Both can be overridden.
18 | It contains an optional status element and some message elements. 19 |
20 |
21 | 22 |
-------------------------------------------------------------------------------- /ivy.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/RequestThread.java: -------------------------------------------------------------------------------- 1 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 2 | // Please first read the full copyright statement in file COPYRIGHT.html 3 | package org.w3c.unicorn; 4 | 5 | import java.util.ArrayList; 6 | 7 | import org.apache.commons.logging.Log; 8 | import org.apache.commons.logging.LogFactory; 9 | import org.w3c.unicorn.exceptions.UnicornException; 10 | import org.w3c.unicorn.request.Request; 11 | import org.w3c.unicorn.response.Response; 12 | import org.w3c.unicorn.util.Message; 13 | 14 | /** 15 | * Thread executing a request 16 | * 17 | * @author Damien Leroy 18 | * 19 | */ 20 | class RequestThread extends Thread { 21 | /** 22 | * Used for complex logging purpose 23 | */ 24 | private static final Log logger = LogFactory.getLog(RequestThread.class); 25 | 26 | private Response aResponse; 27 | 28 | /** 29 | * The request to make 30 | */ 31 | private Request aRequest; 32 | 33 | /** 34 | * ID of the Observer 35 | */ 36 | private String obsID; 37 | 38 | private ArrayList messages; 39 | 40 | /** 41 | * Initialize the thread by filling the properties 42 | * 43 | * @param mapOfResponse 44 | * the map of the responses 45 | * @param aRequest 46 | * the request to make 47 | * @param obsID 48 | * the ID of the observer 49 | * @param unicorn 50 | * the unicorn call to make 51 | */ 52 | public RequestThread( 53 | Request aRequest, 54 | String obsID) { 55 | this.aRequest = aRequest; 56 | this.obsID = obsID; 57 | messages = new ArrayList(); 58 | } 59 | 60 | /** 61 | * Allow to launch the thread 62 | */ 63 | @Override 64 | public void run() { 65 | try { 66 | aResponse = this.aRequest.doRequest(); 67 | aResponse.setObserverId(obsID); 68 | } catch (final UnicornException e) { 69 | messages.add(e.getUnicornMessage()); 70 | logger.error("Observer request failed: \n\t Request: " + aRequest.getInputMethod().toString() + " - " + this.aRequest.toString(), e); 71 | } 72 | } 73 | 74 | public String getObsID() { 75 | return obsID; 76 | } 77 | 78 | public Response getResponse() { 79 | return aResponse; 80 | } 81 | 82 | public void setResponse(Response aResponse) { 83 | this.aResponse = aResponse; 84 | } 85 | 86 | public ArrayList getMessages() { 87 | return messages; 88 | } 89 | 90 | public void setMessages(ArrayList messages) { 91 | this.messages = messages; 92 | } 93 | 94 | } 95 | 96 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/action/TestObserver.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.action; 5 | 6 | import java.io.IOException; 7 | import javax.servlet.ServletException; 8 | import javax.servlet.http.HttpServlet; 9 | import javax.servlet.http.HttpServletRequest; 10 | import javax.servlet.http.HttpServletResponse; 11 | 12 | /** 13 | * TestObserver 14 | * 15 | * @author Thomas GAMBET 16 | */ 17 | public class TestObserver extends HttpServlet { 18 | private static final long serialVersionUID = 1L; 19 | 20 | public TestObserver() { 21 | super(); 22 | } 23 | 24 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 25 | String uri = request.getParameter("uri"); 26 | response.sendRedirect(uri); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/contract/EnumInputMethod.java: -------------------------------------------------------------------------------- 1 | // Author: Damien LEROY 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.contract; 5 | 6 | /** 7 | * Enumeration for the input methods 8 | * 9 | * @author Damien LEROY 10 | */ 11 | public enum EnumInputMethod { 12 | 13 | URI("uri"), DIRECT("direct"), UPLOAD("upload"); 14 | 15 | private final String sValue; 16 | 17 | private EnumInputMethod(final String sValue) { 18 | this.sValue = sValue; 19 | } 20 | 21 | public final String value() { 22 | return this.sValue; 23 | } 24 | 25 | public static EnumInputMethod fromValue(final String sValue) { 26 | for (final EnumInputMethod aEnumInputMethod : EnumInputMethod.values()) { 27 | if (aEnumInputMethod.sValue.equals(sValue)) { 28 | return aEnumInputMethod; 29 | } 30 | } 31 | throw new IllegalArgumentException("Unknow input method : " 32 | + sValue.toString() + "."); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/contract/Option.java: -------------------------------------------------------------------------------- 1 | package org.w3c.unicorn.contract; 2 | 3 | public class Option { 4 | 5 | private String value; 6 | private String name; 7 | 8 | public Option(String value, String name) { 9 | this.value = value; 10 | this.name = name; 11 | } 12 | public String getValue() { 13 | return value; 14 | } 15 | public void setValue(String value) { 16 | this.value = value; 17 | } 18 | public String getName() { 19 | return name; 20 | } 21 | public void setName(String name) { 22 | this.name = name; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/contract/WADLUnmarshaller.java: -------------------------------------------------------------------------------- 1 | // Author: Jean-Guilhem Rouel 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.contract; 5 | 6 | import java.util.List; 7 | import java.util.Map; 8 | 9 | import javax.activation.MimeType; 10 | 11 | import org.w3c.unicorn.util.LocalizedString; 12 | import org.w3c.unicorn.util.Unmarshaller; 13 | 14 | /** 15 | * WADLUnmarshallerXPath
16 | * Created: May 24, 2006 12:34:38 PM
17 | */ 18 | public interface WADLUnmarshaller extends Unmarshaller { 19 | 20 | /** 21 | * @return Returns a list of methods. 22 | */ 23 | public abstract List getListOfCallMethod(); 24 | 25 | Map getMapOfInputMethod(); 26 | 27 | public String getID(); 28 | 29 | public LocalizedString getName(); 30 | 31 | public LocalizedString getDescription(); 32 | 33 | public LocalizedString getHelpLocation(); 34 | 35 | public LocalizedString getProvider(); 36 | 37 | public String getNameOfLangParameter(); 38 | 39 | public String getNameOfOutputParameter(); 40 | 41 | public String getResponseType(); 42 | 43 | public List getSupportedMimeTypes(); 44 | 45 | public String getIndexUri(); 46 | 47 | } 48 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/exceptions/InitializationFailedException.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.exceptions; 5 | 6 | public class InitializationFailedException extends Exception { 7 | 8 | private static final long serialVersionUID = -5495122008977532810L; 9 | 10 | public InitializationFailedException() { 11 | super(); 12 | } 13 | 14 | public InitializationFailedException(final String message) { 15 | super(message); 16 | } 17 | 18 | public InitializationFailedException(String message, Throwable cause) { 19 | super(message, cause); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/exceptions/ParameterException.java: -------------------------------------------------------------------------------- 1 | // Author: Jean-Guilhem Rouel 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.exceptions; 5 | 6 | /** 7 | * ParameterException
8 | * Created: Jun 9, 2006 5:35:55 PM
9 | * Exception used when the parameters aren't well formed 10 | */ 11 | public class ParameterException extends Exception { 12 | 13 | private static final long serialVersionUID = 6882194955581911106L; 14 | 15 | public ParameterException(String string) { 16 | super(string); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/exceptions/UnicornException.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.exceptions; 5 | 6 | import org.w3c.unicorn.util.Message; 7 | 8 | public class UnicornException extends Exception { 9 | 10 | private static final long serialVersionUID = 3302368429707755988L; 11 | 12 | private Message message; 13 | 14 | public UnicornException() { 15 | super(); 16 | } 17 | 18 | public UnicornException(String string) { 19 | super(string); 20 | } 21 | 22 | public UnicornException(Message message) { 23 | this.message = message; 24 | } 25 | 26 | public UnicornException(int level, String message, String content, String... parameters) { 27 | this.message = new Message(level, message, content, parameters); 28 | } 29 | 30 | public UnicornException(int level, String message) { 31 | this.message = new Message(level, message); 32 | } 33 | 34 | public Message getUnicornMessage() { 35 | return message; 36 | } 37 | 38 | public void setUnicornMessage(Message message) { 39 | this.message = message; 40 | } 41 | 42 | @Override 43 | public String getMessage() { 44 | if (super.getMessage() == null || super.getMessage().equals("")) 45 | return message.getContent(); 46 | else 47 | return super.getMessage(); 48 | } 49 | 50 | 51 | 52 | } 53 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/exceptions/UnknownObserverException.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.exceptions; 5 | 6 | public class UnknownObserverException extends Exception { 7 | 8 | private static final long serialVersionUID = -1948295592721781637L; 9 | 10 | public UnknownObserverException(String string) { 11 | super(string); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/exceptions/UnknownParserException.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.exceptions; 5 | 6 | public class UnknownParserException extends Exception { 7 | 8 | private static final long serialVersionUID = 2319233115491989191L; 9 | 10 | public UnknownParserException(String string) { 11 | super(string); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/input/DirectInputParameter.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.input; 5 | 6 | import java.util.ArrayList; 7 | 8 | import javax.activation.MimeType; 9 | import javax.activation.MimeTypeParseException; 10 | 11 | import org.w3c.unicorn.contract.EnumInputMethod; 12 | import org.w3c.unicorn.exceptions.UnicornException; 13 | import org.w3c.unicorn.util.Message; 14 | 15 | public class DirectInputParameter extends InputParameter { 16 | 17 | private String document; 18 | 19 | private String sMimeType; 20 | 21 | public DirectInputParameter(String document, String sMimeType) { 22 | this.document = document; 23 | this.sMimeType = sMimeType; 24 | } 25 | 26 | @Override 27 | public void check(ArrayList messages) throws UnicornException { 28 | if (document == null || document.equals("")) 29 | throw new UnicornException(Message.ERROR, "$message_empty_direct_input"); 30 | if (sMimeType == null || sMimeType.equals("")) 31 | throw new UnicornException(Message.ERROR, "$message_missing_mime_type"); 32 | try { 33 | mimeType = new MimeType(sMimeType); 34 | } catch (MimeTypeParseException e) { 35 | throw new UnicornException(Message.ERROR, "$message_invalid_mime_type", null, sMimeType); 36 | } 37 | inputModule = new DirectInputModule(mimeType, document); 38 | } 39 | 40 | @Override 41 | public String getDocumentName() { 42 | return "$submitted_file"; 43 | } 44 | 45 | @Override 46 | public EnumInputMethod getInputMethod() { 47 | return EnumInputMethod.DIRECT; 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/input/InputModule.java: -------------------------------------------------------------------------------- 1 | // Author: Damien LEROY. 2 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.input; 5 | 6 | import java.io.IOException; 7 | 8 | import javax.activation.MimeType; 9 | 10 | import org.apache.commons.logging.Log; 11 | import org.apache.commons.logging.LogFactory; 12 | import org.w3c.unicorn.contract.EnumInputMethod; 13 | 14 | /** 15 | * Interface for an input module 16 | * 17 | * @author Damien LEROY 18 | */ 19 | public interface InputModule { 20 | 21 | public static final Log logger = LogFactory.getLog(InputModule.class); 22 | 23 | public EnumInputMethod getEnumInputMethod(); 24 | 25 | public MimeType getMimeType(); 26 | 27 | public Object getParameterValue(); 28 | 29 | public String getStringContent() throws IOException; 30 | 31 | /** 32 | * Make all action necessary to remove input module. 33 | */ 34 | public void dispose(); 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/input/InputParameter.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.input; 5 | 6 | import java.util.ArrayList; 7 | 8 | import javax.activation.MimeType; 9 | 10 | import org.w3c.unicorn.contract.EnumInputMethod; 11 | import org.w3c.unicorn.exceptions.UnicornException; 12 | import org.w3c.unicorn.util.Message; 13 | 14 | public abstract class InputParameter { 15 | 16 | protected EnumInputMethod inputMethod; 17 | 18 | protected InputModule inputModule; 19 | 20 | protected MimeType mimeType; 21 | 22 | protected String documentName; 23 | 24 | public abstract void check(ArrayList messages) throws UnicornException; 25 | 26 | public InputModule getInputModule() { 27 | return inputModule; 28 | } 29 | 30 | public void setInputModule(InputModule inputModule) { 31 | this.inputModule = inputModule; 32 | } 33 | 34 | public MimeType getMimeType() { 35 | return mimeType; 36 | } 37 | 38 | public void setMimeType(MimeType mimeType) { 39 | this.mimeType = mimeType; 40 | } 41 | 42 | public abstract String getDocumentName(); 43 | 44 | public void setDocumentName(String documentName) { 45 | this.documentName = documentName; 46 | } 47 | 48 | public abstract EnumInputMethod getInputMethod(); 49 | 50 | public void setInputMethod(EnumInputMethod inputMethod) { 51 | this.inputMethod = inputMethod; 52 | } 53 | 54 | public void dispose() { 55 | if (inputModule != null) 56 | inputModule.dispose(); 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/input/UploadInputModule.java: -------------------------------------------------------------------------------- 1 | // Author: Damien LEROY. 2 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.input; 5 | 6 | import java.io.IOException; 7 | import java.io.InputStream; 8 | 9 | import javax.activation.MimeType; 10 | 11 | import org.w3c.unicorn.contract.EnumInputMethod; 12 | 13 | /** 14 | * Interface for the UploadInputModule 15 | * 16 | * @author Damien LEROY 17 | */ 18 | public interface UploadInputModule extends InputModule { 19 | 20 | public final EnumInputMethod aEnumInputMethod = EnumInputMethod.UPLOAD; 21 | 22 | public String getFileName(); 23 | 24 | public InputStream getInputStream() throws IOException; 25 | 26 | public MimeType getMimeType(); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/input/UploadInputParameter.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.input; 5 | 6 | import java.util.ArrayList; 7 | 8 | import javax.activation.MimeType; 9 | import javax.activation.MimeTypeParseException; 10 | import org.apache.commons.fileupload.FileItem; 11 | import org.w3c.unicorn.contract.EnumInputMethod; 12 | import org.w3c.unicorn.exceptions.UnicornException; 13 | import org.w3c.unicorn.util.Message; 14 | 15 | public class UploadInputParameter extends InputParameter { 16 | 17 | private FileItem file; 18 | 19 | public UploadInputParameter(FileItem file) { 20 | this.file = file; 21 | } 22 | 23 | @Override 24 | public void check(ArrayList messages) throws UnicornException { 25 | if (file.getName() == null || file.getName().equals("")) { 26 | throw new UnicornException(Message.ERROR, "$message_no_uploaded_file", null); 27 | } 28 | if (file.getSize() == 0) { 29 | throw new UnicornException(Message.ERROR, "$message_empty_uploaded_file", null); 30 | } 31 | String sMimeType = file.getContentType(); 32 | if (null == sMimeType || "".equals(sMimeType)) { 33 | // TODO Is there another solution here to find the mime-type ? 34 | throw new UnicornException(Message.ERROR, "$message_not_found_mime_type", null); 35 | } 36 | try { 37 | mimeType = new MimeType(sMimeType); 38 | } catch (MimeTypeParseException e) { 39 | throw new UnicornException(Message.ERROR, "$message_invalid_mime_type", null); 40 | } 41 | inputModule = new FileItemInputModule(mimeType, file); 42 | } 43 | 44 | @Override 45 | public String getDocumentName() { 46 | return file.getName(); 47 | } 48 | 49 | @Override 50 | public EnumInputMethod getInputMethod() { 51 | return EnumInputMethod.UPLOAD; 52 | } 53 | 54 | @Override 55 | public void dispose() { 56 | super.dispose(); 57 | if (null != this.file) { 58 | this.file.delete(); 59 | this.file = null; 60 | } 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/output/EnumOutputModule.java: -------------------------------------------------------------------------------- 1 | // Author: Damien LEROY. 2 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.output; 5 | 6 | /** 7 | * @author Damien LEROY 8 | * 9 | */ 10 | public enum EnumOutputModule { 11 | 12 | SIMPLE("simple"), MAIL("mail"); 13 | 14 | private final String sValue; 15 | 16 | private EnumOutputModule(final String sValue) { 17 | this.sValue = sValue; 18 | } 19 | 20 | public final String value() { 21 | return this.sValue; 22 | } 23 | 24 | /** 25 | * Returns if the string is an output method possible value 26 | * 27 | * @param sValue 28 | * string to compare 29 | * @return the output method if matches and null otherwise 30 | */ 31 | public static EnumOutputModule fromValue(final String sValue) { 32 | for (final EnumOutputModule aEnumOutputMethod : EnumOutputModule 33 | .values()) { 34 | if (aEnumOutputMethod.sValue.equals(sValue)) { 35 | return aEnumOutputMethod; 36 | } 37 | } 38 | return null; 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/output/FileOutputFormater.java: -------------------------------------------------------------------------------- 1 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 2 | // Please first read the full copyright statement in file COPYRIGHT.html 3 | package org.w3c.unicorn.output; 4 | 5 | public class FileOutputFormater extends SimpleOutputFormater { 6 | 7 | private String fileName; 8 | 9 | public FileOutputFormater(String format, String lang, String mimeType, String fileName) { 10 | super(format, lang, mimeType); 11 | this.fileName = fileName; 12 | } 13 | 14 | public String getFileName() { 15 | return fileName; 16 | } 17 | 18 | public void setFileName(String fileName) { 19 | this.fileName = fileName; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/output/OutputFormater.java: -------------------------------------------------------------------------------- 1 | // Author: Jean-Guilhem Rouel 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.output; 5 | 6 | import java.io.Writer; 7 | import java.util.Map; 8 | 9 | import org.apache.commons.logging.Log; 10 | import org.apache.commons.logging.LogFactory; 11 | 12 | /** 13 | * SimpleOutputFormater
14 | * Created: Jul 19, 2006 5:54:33 PM
15 | * 16 | * @author Jean-Guilhem Rouel 17 | */ 18 | public abstract class OutputFormater { 19 | 20 | protected String mimeType; 21 | 22 | protected String format; 23 | 24 | protected String lang; 25 | 26 | public OutputFormater(String format, String lang, String mimeType) { 27 | logger.trace("Constructor"); 28 | logger.debug("Output format : " + format + "."); 29 | logger.debug("Output language : " + lang + "."); 30 | 31 | this.mimeType = mimeType; 32 | this.format = format; 33 | this.lang = lang; 34 | } 35 | 36 | public static final Log logger = LogFactory.getLog(OutputFormater.class); 37 | 38 | /** 39 | * @param mapOfStringObject 40 | * @param output 41 | */ 42 | public abstract void produceOutput(Map mapOfStringObject, Writer output); 43 | 44 | /** 45 | * @param messages 46 | * @param aWriter 47 | */ 48 | public abstract void produceError(Map mapOfStringObject, Writer output); 49 | 50 | public String getMimeType() { 51 | return mimeType; 52 | } 53 | 54 | public String getLang() { 55 | return lang; 56 | } 57 | 58 | public String getFormat() { 59 | return format; 60 | } 61 | 62 | } -------------------------------------------------------------------------------- /src/org/w3c/unicorn/output/SimpleOutputFormater.java: -------------------------------------------------------------------------------- 1 | // Author: Damien LEROY. 2 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.output; 5 | 6 | import java.io.IOException; 7 | import java.io.Writer; 8 | import java.util.Map; 9 | 10 | import org.apache.velocity.VelocityContext; 11 | import org.w3c.unicorn.Framework; 12 | import org.w3c.unicorn.util.Property; 13 | import org.w3c.unicorn.util.Templates; 14 | 15 | /** 16 | * Class for simple output formater. 17 | * 18 | * @author Jean-Guilhem ROUEL 19 | */ 20 | public class SimpleOutputFormater extends OutputFormater { 21 | 22 | protected VelocityContext aVelocityContext; 23 | 24 | public SimpleOutputFormater() { 25 | this(Property.get("DEFAULT_FORMAT"), Property.get("DEFAULT_LANGUAGE"), Property.getProps("output.properties").getProperty(Property.get("DEFAULT_FORMAT") + ".mimetype")); 26 | } 27 | 28 | public SimpleOutputFormater(final String format, final String lang, String mimeType) { 29 | super(format, lang, mimeType); 30 | 31 | if (Framework.getLanguageContexts().get(lang) != null) { 32 | aVelocityContext = new VelocityContext(Framework.getLanguageContexts().get(lang)); 33 | } else { 34 | aVelocityContext = new VelocityContext(Framework.getLanguageContexts().get(Property.get("DEFAULT_LANGUAGE"))); 35 | } 36 | } 37 | 38 | public void produceOutput(Map mapOfStringObject, Writer output) { 39 | logger.trace("produceOutput"); 40 | logger.debug("Map of String -> Object : " + mapOfStringObject + "."); 41 | logger.debug("Writer : " + output + "."); 42 | 43 | if (mapOfStringObject != null) 44 | for (String sObjectName : mapOfStringObject.keySet()) 45 | aVelocityContext.put(sObjectName, mapOfStringObject.get(sObjectName)); 46 | 47 | Templates.write(format + ".vm", aVelocityContext, output); 48 | try { 49 | output.close(); 50 | } catch (IOException e) { 51 | logger.error("Error closing output writer: " + e.getMessage(), e); 52 | } 53 | } 54 | 55 | public void produceError(Map mapOfStringObject, Writer output) { 56 | logger.trace("produceError"); 57 | logger.debug("Writer : " + output + "."); 58 | 59 | if (mapOfStringObject != null) 60 | for (String sObjectName : mapOfStringObject.keySet()) 61 | aVelocityContext.put(sObjectName, mapOfStringObject.get(sObjectName)); 62 | 63 | Templates.write(format + ".error.vm", aVelocityContext, output); 64 | try { 65 | output.close(); 66 | } catch (IOException e) { 67 | logger.error("Error closing output writer: " + e.getMessage(), e); 68 | } 69 | } 70 | 71 | } 72 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/output/SimpleOutputModule.java: -------------------------------------------------------------------------------- 1 | // Author: Damien LEROY. 2 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.output; 5 | 6 | import java.io.Writer; 7 | import java.util.Map; 8 | 9 | /** 10 | * This module allow to generate output in text format. 11 | * 12 | * @author Damien LEROY 13 | */ 14 | public class SimpleOutputModule extends OutputModule { 15 | 16 | public SimpleOutputModule(Map mapOfOutputParameters, Map mapOfSpecificParameters) { 17 | super(mapOfOutputParameters, mapOfSpecificParameters); 18 | } 19 | 20 | public void produceOutput(Map mapOfStringObject, final Writer aWriter) { 21 | defaultOutputFormater.produceOutput(mapOfStringObject, aWriter); 22 | } 23 | 24 | public void produceError(Map mapOfStringObject, final Writer aWriter) { 25 | if (defaultOutputFormater.getFormat().equals("xhtml10")) { 26 | displayOnIndex(mapOfStringObject, aWriter); 27 | return; 28 | } 29 | defaultOutputFormater.produceError(mapOfStringObject, aWriter); 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/output/XMLOutputFormater.java: -------------------------------------------------------------------------------- 1 | // Author: Damien LEROY. 2 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.output; 5 | 6 | /** 7 | * Class for XML output formater. 8 | * 9 | * @author Jean-Guilhem ROUEL 10 | */ 11 | 12 | public class XMLOutputFormater extends SimpleOutputFormater { 13 | 14 | public XMLOutputFormater(final String format, final String lang, String mimeType) { 15 | super(format, lang, mimeType); 16 | 17 | // Replace tag objects (A, Img, ...) with their XHTML representation 18 | //final EventCartridge aEventCartridge = new EventCartridge(); 19 | //aEventCartridge.addEventHandler(new XHTMLize()); 20 | //aEventCartridge.attachToContext(aVelocityContext); 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /src/org/w3c/unicorn/request/RequestList.java: -------------------------------------------------------------------------------- 1 | // Author: Damien LEROY. 2 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.request; 5 | 6 | import java.io.IOException; 7 | import java.util.LinkedHashMap; 8 | import java.util.Map; 9 | 10 | import org.apache.commons.logging.Log; 11 | import org.apache.commons.logging.LogFactory; 12 | 13 | /** 14 | * @author Damien LEROY 15 | * 16 | */ 17 | public class RequestList { 18 | 19 | /** 20 | * Object used for complex logging purpose 21 | */ 22 | private static final Log logger = LogFactory.getLog(RequestList.class); 23 | 24 | /** 25 | * Language of the list 26 | */ 27 | private String sLang = null; 28 | 29 | /** 30 | * Constructor of the list 31 | * 32 | * @param sLang 33 | * language of the list 34 | */ 35 | public RequestList(final String sLang) { 36 | logger.debug("Lang : " + sLang + "."); 37 | this.sLang = sLang; 38 | } 39 | 40 | /** 41 | * Map of request about the observer who handle the current mime type with a 42 | * LOW priority. 43 | */ 44 | private final Map mapOfRequest = new LinkedHashMap(); 45 | 46 | /** 47 | * 48 | * @return 49 | */ 50 | public Map getRequestMap() { 51 | logger.trace("getRequestMap"); 52 | return this.mapOfRequest; 53 | } 54 | 55 | /** 56 | * Gives an observer placed in the map 57 | * 58 | * @param String 59 | * sNodeID the ID of the node into which we'll search the Request 60 | * @return 61 | */ 62 | public Request getRequest(final String sNodeID) { 63 | logger.trace("getRequest"); 64 | logger.debug("Observer ID : " + sNodeID + "."); 65 | return this.mapOfRequest.get(sNodeID); 66 | } 67 | 68 | /** 69 | * Adds a request to the map 70 | * 71 | * @param aRequest 72 | * @param sNodeID 73 | * The ID of the corresponding node 74 | * @throws IOException 75 | */ 76 | 77 | public void addRequest(final Request aRequest, final String sNodeID) { 78 | logger.trace("addRequest"); 79 | logger.debug("Request : " + aRequest + "."); 80 | logger.debug("String node ID : " + sNodeID + "."); 81 | aRequest.setLang(this.sLang); 82 | this.mapOfRequest.put(sNodeID, aRequest); 83 | } 84 | 85 | /** 86 | * Prints the object 87 | */ 88 | @Override 89 | public String toString() { 90 | final int iStringBufferSize = 1000; 91 | final StringBuffer aStringBuffer = new StringBuffer(iStringBufferSize); 92 | aStringBuffer.append(mapOfRequest); 93 | return aStringBuffer.toString(); 94 | } 95 | 96 | } 97 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/request/TrustAllManager.java: -------------------------------------------------------------------------------- 1 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 2 | // Please first read the full copyright statement in file COPYRIGHT.html 3 | package org.w3c.unicorn.request; 4 | 5 | import java.security.cert.CertificateException; 6 | import java.security.cert.X509Certificate; 7 | 8 | import javax.net.ssl.X509TrustManager; 9 | 10 | public class TrustAllManager implements X509TrustManager { 11 | 12 | public void checkClientTrusted(X509Certificate[] arg0, String arg1) 13 | throws CertificateException { 14 | } 15 | 16 | public void checkServerTrusted(X509Certificate[] arg0, String arg1) 17 | throws CertificateException { 18 | } 19 | 20 | public X509Certificate[] getAcceptedIssuers() { 21 | return null; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/response/Context.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.response; 5 | 6 | public interface Context { 7 | 8 | public Integer getLine(); 9 | 10 | public Integer getColumn(); 11 | 12 | public Integer getLineMin(); 13 | 14 | public Integer getLineMax(); 15 | 16 | public Integer getColumnMin(); 17 | 18 | public Integer getColumnMax(); 19 | 20 | public Integer getOffset(); 21 | 22 | public String getPosition(); 23 | 24 | public String getContext(); 25 | 26 | public String getURI(); 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/response/Group.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.response; 5 | 6 | public interface Group { 7 | 8 | public String getName(); 9 | 10 | public String getParentName(); 11 | 12 | public String getTitle(); 13 | 14 | public String getDescription(); 15 | 16 | public boolean hasParent(); 17 | 18 | public String getLang(); 19 | 20 | } -------------------------------------------------------------------------------- /src/org/w3c/unicorn/response/Message.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.response; 5 | 6 | import java.util.List; 7 | 8 | public interface Message { 9 | 10 | public static final int INFO = 0; 11 | 12 | public static final int WARNING = 1; 13 | 14 | public static final int ERROR = 2; 15 | 16 | public String getTitle(); 17 | 18 | public String getDescription(); 19 | 20 | public int getType(); 21 | 22 | public int getLevel(); 23 | 24 | public String getURI(); 25 | 26 | public List getContexts(); 27 | 28 | public String getGroupName(); 29 | 30 | public String getLang(); 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/response/Response.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.response; 5 | 6 | import java.util.Date; 7 | import java.util.List; 8 | import java.util.Map; 9 | 10 | public interface Response { 11 | 12 | public static final int PASSED = 0; 13 | 14 | public static final int FAILED = 1; 15 | 16 | public static final int UNDEF = 2; 17 | 18 | public Date getDate(); 19 | 20 | public List getGroups(); 21 | 22 | public List getGroupChildren(Group group); 23 | 24 | public String getURI(); 25 | 26 | public int getErrorCount(); 27 | 28 | public int getInfoCount(); 29 | 30 | public int getWarningCount(); 31 | 32 | public Map> getURISortedMessages(int type); 33 | 34 | public Map> getURISortedMessages(String group); 35 | 36 | public Iterable getMessages(); 37 | 38 | public Iterable getMessages(String uri, Integer type); 39 | 40 | public Iterable getMessages(String group); 41 | 42 | public Iterable getErrorMessages(); 43 | 44 | public Iterable getErrorMessages(String uri); 45 | 46 | public Iterable getWarningMessages(); 47 | 48 | public Iterable getWarningMessages(String uri); 49 | 50 | public Iterable getInfoMessages(); 51 | 52 | public Iterable getInfoMessages(String uri); 53 | 54 | public Integer getRating(); 55 | 56 | public int getStatus(); 57 | 58 | public boolean isPassed(); 59 | 60 | public boolean isUndef(); 61 | 62 | public boolean isSetRating(); 63 | 64 | public boolean hasGroups(); 65 | 66 | public String getObserverID(); 67 | 68 | public void setObserverId(String obsId); 69 | 70 | public String[] selectPath(String xpath); 71 | 72 | public boolean evaluateXPath(String xpathQuery); 73 | 74 | public void setRequestUri(String uri); 75 | 76 | public String getRequestUri(); 77 | 78 | public String getHTMLRequestUri(); 79 | 80 | public String getHTMLIndexUri(); 81 | 82 | public String getLang(); 83 | } 84 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/response/ResponseFactory.java: -------------------------------------------------------------------------------- 1 | //Author: Thomas Gambet 2 | //(c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | //Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.response; 5 | 6 | import java.io.InputStream; 7 | import java.lang.reflect.InvocationTargetException; 8 | 9 | import org.apache.commons.logging.Log; 10 | import org.apache.commons.logging.LogFactory; 11 | import org.w3c.unicorn.Framework; 12 | import org.w3c.unicorn.exceptions.UnicornException; 13 | import org.w3c.unicorn.response.impl.DefaultResponseXBeans; 14 | 15 | public class ResponseFactory { 16 | 17 | private static final Log logger = LogFactory.getLog(ResponseFactory.class); 18 | 19 | public static Response getResponse(InputStream is, String responseType, String requestUri, String charset, String observerId) throws UnicornException { 20 | 21 | Response res; 22 | try { 23 | if (Framework.responseImpl.get(responseType) != null) { 24 | res = Framework.responseImpl.get(responseType).getConstructor(InputStream.class, String.class, String.class).newInstance(is, charset, observerId); 25 | } else if (Framework.responseImpl.get("default") != null) { 26 | res = Framework.responseImpl.get("default").getConstructor(InputStream.class, String.class, String.class).newInstance(is, charset, observerId); 27 | logger.warn("ResponseType unknown: " + responseType + ". The default responseType is instanciated instead."); 28 | } else { 29 | res = new DefaultResponseXBeans(is, charset, observerId); 30 | } 31 | res.setRequestUri(requestUri); 32 | return res; 33 | } catch (InvocationTargetException e) { 34 | if (e.getCause() instanceof UnicornException) 35 | throw (UnicornException) e.getCause(); 36 | logger.error(e.getMessage(), e); 37 | } catch (IllegalArgumentException e) { 38 | logger.error(e.getMessage(), e); 39 | } catch (SecurityException e) { 40 | logger.error(e.getMessage(), e); 41 | } catch (InstantiationException e) { 42 | logger.error(e.getMessage(), e); 43 | } catch (IllegalAccessException e) { 44 | logger.error(e.getMessage(), e); 45 | } catch (NoSuchMethodException e) { 46 | logger.error(e.getMessage(), e); 47 | } 48 | 49 | return null; 50 | } 51 | 52 | } 53 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/response/impl/DefaultContextXBeans.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.response.impl; 5 | 6 | import org.apache.xmlbeans.XmlOptions; 7 | import org.w3.x2009.x10.unicorn.observationresponse.ContextType; 8 | import org.w3c.unicorn.response.Context; 9 | 10 | public class DefaultContextXBeans implements Context { 11 | 12 | private ContextType context; 13 | 14 | private String value; 15 | private Integer lineMin; 16 | private Integer lineMax; 17 | private Integer colMin; 18 | private Integer colMax; 19 | 20 | public DefaultContextXBeans(ContextType context) { 21 | 22 | this.context = context; 23 | 24 | if (context.isSetLineRange()) { 25 | String[] values = context.getLineRange().split("-"); 26 | lineMin = Integer.parseInt(values[0]); 27 | lineMax = Integer.parseInt(values[1]); 28 | } 29 | if (context.isSetColumnRange()) { 30 | String[] values = context.getColumnRange().split("-"); 31 | colMin = Integer.parseInt(values[0]); 32 | colMax = Integer.parseInt(values[1]); 33 | } 34 | 35 | XmlOptions opts = new XmlOptions(); 36 | opts.setSaveCDataLengthThreshold(10000000); 37 | opts.setSaveCDataEntityCountThreshold(-1); 38 | opts.setUseDefaultNamespace(); 39 | value = context.xmlText(opts).replaceAll("[ ]*xmlns=\"[^>]*\"", "").replaceAll("]*>", ""); 40 | } 41 | 42 | public Integer getLine() { 43 | if (context.isSetLine()) 44 | return context.getLine().intValue(); 45 | return null; 46 | } 47 | 48 | public Integer getColumn() { 49 | if (context.isSetColumn()) 50 | return context.getColumn().intValue(); 51 | return null; 52 | } 53 | 54 | public Integer getLineMin() { 55 | return lineMin; 56 | } 57 | 58 | public Integer getLineMax() { 59 | return lineMax; 60 | } 61 | 62 | public Integer getColumnMin() { 63 | return colMin; 64 | } 65 | 66 | public Integer getColumnMax() { 67 | return colMax; 68 | } 69 | 70 | public String getContext() { 71 | return value; 72 | } 73 | 74 | public Integer getOffset() { 75 | if (context.isSetOffset()) 76 | return context.getOffset().intValue(); 77 | return null; 78 | } 79 | 80 | public String getPosition() { 81 | return context.getPosition(); 82 | } 83 | 84 | public String getURI() { 85 | return context.getRef(); 86 | } 87 | 88 | } 89 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/response/impl/DefaultGroupXBeans.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.response.impl; 5 | 6 | import org.apache.xmlbeans.XmlOptions; 7 | import org.w3.x2009.x10.unicorn.observationresponse.GroupType; 8 | import org.w3c.unicorn.response.Group; 9 | 10 | public class DefaultGroupXBeans implements Group { 11 | 12 | private String title; 13 | 14 | private String description; 15 | 16 | private String name; 17 | 18 | private String parent; 19 | 20 | private String lang; 21 | 22 | public DefaultGroupXBeans(GroupType group) { 23 | if (group.isSetDescription() && group.getDescription().validate()) 24 | description = group.getDescription().xmlText(new XmlOptions().setUseDefaultNamespace() 25 | .setSavePrettyPrint()).replaceAll("]*>", "").replaceAll("xmlns=\".*\"", ""); 26 | title = group.getTitle(); 27 | name = group.getName(); 28 | if (group.isSetParent()) 29 | parent = group.getParent(); 30 | lang = group.getLang(); 31 | } 32 | 33 | public String getDescription() { 34 | return description; 35 | } 36 | 37 | public String getName() { 38 | return name; 39 | } 40 | 41 | public String getParentName() { 42 | return parent; 43 | } 44 | 45 | public String getTitle() { 46 | return title; 47 | } 48 | 49 | public boolean hasParent() { 50 | if (parent != null) 51 | return true; 52 | return false; 53 | } 54 | 55 | public String getLang() { 56 | return lang; 57 | } 58 | 59 | } 60 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/response/impl/ValidatorNuContext.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.response.impl; 5 | 6 | import javax.json.JsonObject; 7 | 8 | import org.w3c.unicorn.response.Context; 9 | 10 | public class ValidatorNuContext implements Context { 11 | 12 | private String value; 13 | private Integer lineMin; 14 | private Integer lineMax; 15 | private Integer colMin; 16 | private Integer colMax; 17 | private String uri; 18 | 19 | public ValidatorNuContext(JsonObject jsonMessage, String uri) { 20 | this.uri = uri; 21 | try { 22 | value = jsonMessage.getString("extract").replace("&", "&").replace("<", "<").replace(">", ">").replace("'", "'").replace("\"", """); 23 | } catch (NullPointerException e) {} 24 | try { 25 | lineMin = jsonMessage.getInt("firstLine"); 26 | } catch (NullPointerException e) {} 27 | try { 28 | lineMax = jsonMessage.getInt("lastLine"); 29 | } catch (NullPointerException e) {} 30 | try { 31 | colMin = jsonMessage.getInt("firstCol"); 32 | } catch (NullPointerException e) {} 33 | try { 34 | colMax = jsonMessage.getInt("lastCol"); 35 | } catch (NullPointerException e) {} 36 | } 37 | 38 | public Integer getLine() { 39 | if (lineMin != null) { 40 | return lineMin; 41 | } 42 | return lineMax; 43 | } 44 | 45 | public Integer getColumn() { 46 | if (colMin != null) { 47 | return colMin; 48 | } 49 | return colMax; 50 | } 51 | 52 | public Integer getLineMin() { 53 | return lineMin; 54 | } 55 | 56 | public Integer getLineMax() { 57 | return lineMax; 58 | } 59 | 60 | public Integer getColumnMin() { 61 | return colMin; 62 | } 63 | 64 | public Integer getColumnMax() { 65 | return colMax; 66 | } 67 | 68 | public String getContext() { 69 | return value; 70 | } 71 | 72 | public Integer getOffset() { 73 | return null; 74 | } 75 | 76 | public String getPosition() { 77 | return null; 78 | } 79 | 80 | public String getURI() { 81 | return uri; 82 | } 83 | 84 | } 85 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/response/impl/ValidatorNuMessage.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.response.impl; 5 | 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | import javax.json.JsonObject; 9 | 10 | import org.w3c.unicorn.response.Context; 11 | import org.w3c.unicorn.response.Message; 12 | 13 | public class ValidatorNuMessage implements Message { 14 | 15 | private List contexts = new ArrayList(); 16 | 17 | private String description; 18 | 19 | private String title; 20 | 21 | private int level; 22 | 23 | private int type; 24 | 25 | private String uri; 26 | 27 | private String group; 28 | 29 | private String lang; 30 | 31 | public ValidatorNuMessage(JsonObject jsonMessage, String uri) { 32 | this.uri = uri; 33 | String respType = jsonMessage.getString("type"); 34 | switch(respType) { 35 | case "info": 36 | type = Message.INFO; 37 | try { 38 | String subType = jsonMessage.getString("subtype"); 39 | if (subType == "warning") { 40 | type = Message.WARNING; 41 | } 42 | } catch(NullPointerException e) { 43 | // No subtype, don't do anything 44 | } 45 | break; 46 | case "error": 47 | type = Message.ERROR; 48 | break; 49 | } 50 | 51 | title = jsonMessage.getString("message").replace("&", "&").replace("<", "<").replace(">", ">").replace("'", "'").replace("\"", """); 52 | 53 | contexts.add(new ValidatorNuContext(jsonMessage, uri)); 54 | } 55 | 56 | public List getContexts() { 57 | return contexts; 58 | } 59 | 60 | public String getDescription() { 61 | return description; 62 | } 63 | 64 | public int getLevel() { 65 | return level; 66 | } 67 | 68 | public String getTitle() { 69 | return title; 70 | } 71 | 72 | public int getType() { 73 | return type; 74 | } 75 | 76 | public String getURI() { 77 | return uri; 78 | } 79 | 80 | public void setURI(String uri) { 81 | this.uri = uri; 82 | } 83 | 84 | public String getGroupName() { 85 | return group; 86 | } 87 | 88 | public void setGroupName(String group) { 89 | this.group = group; 90 | } 91 | 92 | public String getLang() { 93 | return lang; 94 | } 95 | } 96 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/tasklist/Group.java: -------------------------------------------------------------------------------- 1 | //Author: Thomas Gambet 2 | //(c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | //Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.tasklist; 5 | 6 | import java.util.List; 7 | 8 | public class Group { 9 | 10 | public enum Type { 11 | FIRSTPASSED 12 | } 13 | 14 | private Type type; 15 | 16 | private List observationList; 17 | 18 | public boolean isSetType() { 19 | if (type != null) 20 | return true; 21 | return false; 22 | } 23 | 24 | public List getObservationList() { 25 | return observationList; 26 | } 27 | 28 | public void setObservationList(List observationList) { 29 | this.observationList = observationList; 30 | } 31 | 32 | public Type getType() { 33 | return type; 34 | } 35 | 36 | public void setType(Type type) { 37 | this.type = type; 38 | } 39 | 40 | public void setType(String type) { 41 | if (type.equalsIgnoreCase(Type.FIRSTPASSED.toString())) 42 | this.type = Type.FIRSTPASSED; 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/tasklist/Output.java: -------------------------------------------------------------------------------- 1 | //Author: Thomas Gambet 2 | //(c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | //Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.tasklist; 5 | 6 | import java.util.ArrayList; 7 | import java.util.List; 8 | 9 | public class Output { 10 | 11 | private List groupList; 12 | 13 | public List getGroupList() { 14 | if (groupList == null) 15 | groupList = new ArrayList(); 16 | return groupList; 17 | } 18 | 19 | public void setGroupList(List groupList) { 20 | this.groupList = groupList; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/tasklist/Tasklist.java: -------------------------------------------------------------------------------- 1 | //Author: Thomas Gambet 2 | //(c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | //Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.tasklist; 5 | 6 | import java.util.LinkedHashMap; 7 | 8 | import org.w3c.unicorn.Framework; 9 | 10 | public class Tasklist extends LinkedHashMap { 11 | 12 | private static final long serialVersionUID = -868579272922431097L; 13 | 14 | private String defaultTaskId; 15 | 16 | public Task getDefaultTask() { 17 | return Framework.mapOfTask.get(getDefaultTaskId()); 18 | } 19 | 20 | public String getDefaultTaskId() { 21 | if (defaultTaskId == null) { 22 | String id = Framework.mapOfTask.values().toArray(new Task[0])[0].getID(); 23 | Framework.logger.error("There is no default task defined in task rdf files. Returning first found id: \"" + id + "\" . Please add ucn:default=\"true\" to the default task."); 24 | this.defaultTaskId = id; 25 | return Framework.mapOfTask.values().toArray(new Task[0])[0].getID(); 26 | } 27 | else 28 | return defaultTaskId; 29 | } 30 | 31 | public void setDefaultTaskId(String defaultTaskId) { 32 | this.defaultTaskId = defaultTaskId; 33 | } 34 | 35 | @Override 36 | public java.lang.String toString() { 37 | String s = ""; 38 | for (String key : this.keySet()) { 39 | s += get(key) + "\n"; 40 | } 41 | return s; 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/tasklist/TasksListUnmarshaller.java: -------------------------------------------------------------------------------- 1 | // Author: Jean-Guilhem Rouel 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.tasklist; 5 | 6 | import org.w3c.unicorn.util.Unmarshaller; 7 | 8 | /** 9 | * TasksListUnmarshaller
10 | * Created: May 30, 2006 5:54:45 PM
11 | * Interface used to retreive a list of tasks 12 | * 13 | * @author Jean-Guilhem ROUEL 14 | */ 15 | public interface TasksListUnmarshaller extends Unmarshaller { 16 | 17 | /** 18 | * Returns the map of tasks. 19 | * 20 | * @return Returns the tasks. 21 | */ 22 | public abstract Tasklist getMapOfTask(); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/tasklist/parameters/ParameterFactory.java: -------------------------------------------------------------------------------- 1 | // Author: Damien LEROY. 2 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.tasklist.parameters; 5 | 6 | import org.apache.commons.logging.Log; 7 | import org.apache.commons.logging.LogFactory; 8 | import org.w3.unicorn.tasklist.TParamType; 9 | 10 | /** 11 | * Factory to create any type of parameter. 12 | * 13 | * @author Damien LEROY 14 | */ 15 | public class ParameterFactory { 16 | 17 | private static final Log logger = LogFactory 18 | .getLog("org.w3c.unicorn.tasklist"); 19 | 20 | public static Parameter getParameter(final TParamType.Enum aTParamType) { 21 | switch (aTParamType.intValue()) { 22 | case TParamType.INT_CHECKBOX: 23 | return new CheckboxParameter(); 24 | case TParamType.INT_CHECKBOXLIST: 25 | return new CheckboxListParameter(); 26 | case TParamType.INT_DROPDOWN: 27 | return new DropDownParameter(); 28 | case TParamType.INT_DROPDOWNLIST: 29 | return new DropdownListParameter(); 30 | case TParamType.INT_RADIO: 31 | return new RadioParameter(); 32 | case TParamType.INT_TEXTAREA: 33 | return new TextAreaParameter(); 34 | case TParamType.INT_TEXTFIELD: 35 | return new TextFieldParameter(); 36 | default: 37 | ParameterFactory.logger.error("Unknown parameter type."); 38 | return null; 39 | } 40 | } 41 | 42 | } 43 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/tasklist/parameters/ParameterType.java: -------------------------------------------------------------------------------- 1 | // Author: Jean-Guilhem Rouel 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.tasklist.parameters; 5 | 6 | /** 7 | * ParameterType
8 | * Created: Jun 22, 2006 10:39:41 AM
9 | * 10 | * @author Jean-Guilhem Rouel 11 | */ 12 | public enum ParameterType { 13 | 14 | CHECKBOX("checkbox"), CHECKBOXLIST("checkboxlist"), DROPDOWN("dropdown"), RADIO( 15 | "radio"), TEXTAREA("textarea"), TEXTFIELD("textfield"), UNKNOWN( 16 | "unknown"), DROPDOWNLIST("dropdownlist"); 17 | 18 | private final String sValue; 19 | 20 | private ParameterType(final String sValue) { 21 | this.sValue = sValue; 22 | } 23 | 24 | public final String value() { 25 | return this.sValue; 26 | } 27 | 28 | public static ParameterType fromValue(final String sValue) { 29 | for (final ParameterType aParameterType : ParameterType.values()) { 30 | if (aParameterType.sValue.equals(sValue)) { 31 | return aParameterType; 32 | } 33 | } 34 | throw new IllegalArgumentException("Parameter type " 35 | + sValue.toString() + " unknow."); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/tasklisttree/EnumCondType.java: -------------------------------------------------------------------------------- 1 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 2 | // Please first read the full copyright statement in file COPYRIGHT.html 3 | package org.w3c.unicorn.tasklisttree; 4 | 5 | public enum EnumCondType { 6 | 7 | XPATH("xpath"), MIMETYPE("mimetype"), PARAMETER("parameter"), METHOD("method"); 8 | 9 | private final String sValue; 10 | 11 | private EnumCondType(final String sValue) { 12 | this.sValue = sValue; 13 | } 14 | 15 | public final String value() { 16 | return this.sValue; 17 | } 18 | 19 | public static EnumCondType fromValue(final String sValue) { 20 | for (final EnumCondType aEnumCondType : EnumCondType.values()) { 21 | if (aEnumCondType.sValue.equals(sValue)) { 22 | return aEnumCondType; 23 | } 24 | } 25 | return null; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/tasklisttree/MethodCond.java: -------------------------------------------------------------------------------- 1 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 2 | // Please first read the full copyright statement in file COPYRIGHT.html 3 | package org.w3c.unicorn.tasklisttree; 4 | 5 | import org.w3c.unicorn.UnicornCall; 6 | 7 | public class MethodCond extends TLTCond { 8 | 9 | @Override 10 | public boolean check(UnicornCall unicornCall) { 11 | // @@ get input type 12 | boolean b = value.equalsIgnoreCase(unicornCall.getInputMethod()); 13 | if (getResult()) 14 | return b; 15 | else 16 | return !b; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/tasklisttree/MimetypeCond.java: -------------------------------------------------------------------------------- 1 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 2 | // Please first read the full copyright statement in file COPYRIGHT.html 3 | package org.w3c.unicorn.tasklisttree; 4 | 5 | import org.w3c.unicorn.UnicornCall; 6 | 7 | public class MimetypeCond extends TLTCond { 8 | 9 | @Override 10 | public boolean check(UnicornCall unicornCall) { 11 | boolean b = value.equals(unicornCall.getInputParameter().getMimeType().toString()); 12 | if (getResult()) 13 | return b; 14 | else 15 | return !b; 16 | } 17 | 18 | 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/tasklisttree/ParameterCond.java: -------------------------------------------------------------------------------- 1 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 2 | // Please first read the full copyright statement in file COPYRIGHT.html 3 | package org.w3c.unicorn.tasklisttree; 4 | 5 | import org.w3c.unicorn.UnicornCall; 6 | 7 | public class ParameterCond extends TLTCond { 8 | 9 | @Override 10 | public boolean check(UnicornCall unicornCall) { 11 | 12 | if (!unicornCall.getMapOfStringParameter().containsKey(parameter)) 13 | return !getResult(); 14 | boolean passed = false; 15 | String[] parameterValues = unicornCall.getMapOfStringParameter().get(parameter); 16 | for (int i=0; i { 11 | 12 | private static final long serialVersionUID = -720345110444544838L; 13 | 14 | private static ArrayList defaultMessages = new ArrayList(); 15 | 16 | private ULocale locale; 17 | 18 | public MessageList() { 19 | this(Language.getDefaultLocale()); 20 | } 21 | 22 | public MessageList(ULocale lang) { 23 | this.locale = lang; 24 | this.addAll(defaultMessages); 25 | } 26 | 27 | public boolean hasInfo() { 28 | for (Message m : this) 29 | if (m.getLevel() == Message.INFO) 30 | return true; 31 | return false; 32 | } 33 | 34 | public boolean hasWarning() { 35 | for (Message m : this) 36 | if (m.getLevel() == Message.WARNING) 37 | return true; 38 | return false; 39 | } 40 | 41 | public boolean hasErrors() { 42 | for (Message m : this) 43 | if (m.getLevel() == Message.ERROR) 44 | return true; 45 | return false; 46 | } 47 | 48 | public ULocale getLocale() { 49 | return locale; 50 | } 51 | 52 | public void setLocale(ULocale locale) { 53 | this.locale = locale; 54 | } 55 | 56 | public static ArrayList getDefaultMessages() { 57 | return defaultMessages; 58 | } 59 | 60 | public static void setDefaultMessages(ArrayList defaultMessages) { 61 | MessageList.defaultMessages = defaultMessages; 62 | } 63 | 64 | } 65 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/util/Property.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.util; 5 | 6 | import java.util.Properties; 7 | 8 | import org.w3c.unicorn.Framework; 9 | 10 | public class Property { 11 | 12 | public static String get(String key) { 13 | try { 14 | return Framework.getUnicornPropertiesFiles().get("unicorn.properties").getProperty(key); 15 | } catch (java.lang.NullPointerException e) { 16 | return null; 17 | } 18 | } 19 | 20 | public static String get(String key1, String key2) { 21 | try { 22 | return Framework.getUnicornPropertiesFiles().get("unicorn.properties").getProperty(key1) 23 | + Framework.getUnicornPropertiesFiles().get("unicorn.properties").getProperty(key2); 24 | } catch (java.lang.NullPointerException e) { 25 | return null; 26 | } 27 | } 28 | 29 | public static Properties getProps(String fileName) { 30 | return Framework.getUnicornPropertiesFiles().get(fileName); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/util/Templates.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.util; 5 | 6 | import java.io.Writer; 7 | 8 | import org.apache.velocity.VelocityContext; 9 | import org.apache.velocity.exception.MethodInvocationException; 10 | import org.apache.velocity.exception.ParseErrorException; 11 | import org.apache.velocity.exception.ResourceNotFoundException; 12 | import org.w3c.unicorn.Framework; 13 | 14 | public class Templates { 15 | 16 | public static void write(String templateName, VelocityContext context, Writer writer) { 17 | try { 18 | Framework.getVelocityEngine().mergeTemplate(templateName, "UTF-8", context, writer); 19 | } catch (ResourceNotFoundException e) { 20 | // TODO Auto-generated catch block 21 | e.printStackTrace(); 22 | } catch (ParseErrorException e) { 23 | // TODO Auto-generated catch block 24 | e.printStackTrace(); 25 | } catch (MethodInvocationException e) { 26 | // TODO Auto-generated catch block 27 | e.printStackTrace(); 28 | } catch (Exception e) { 29 | // TODO Auto-generated catch block 30 | e.printStackTrace(); 31 | } 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/util/UnicornAuthenticator.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.util; 5 | 6 | import javax.mail.Authenticator; 7 | import javax.mail.PasswordAuthentication; 8 | 9 | import org.w3c.unicorn.Framework; 10 | 11 | public class UnicornAuthenticator extends Authenticator { 12 | 13 | String username; 14 | String password; 15 | 16 | public UnicornAuthenticator(String username, String password) { 17 | this.username = username; 18 | this.password = password; 19 | } 20 | 21 | @Override 22 | protected PasswordAuthentication getPasswordAuthentication() { 23 | 24 | try { 25 | if (username == null && password == null) { 26 | /*String result = JOptionPane.showInputDialog("Enter 'username,password' for your SMTP Server. This is asked only once. You can also set the username and password in mail.properties"); 27 | StringTokenizer st = new StringTokenizer(result, ","); 28 | username = st.nextToken(); 29 | password = st.nextToken();*/ 30 | throw new Exception(); 31 | } 32 | } catch (Exception e) { //catch (HeadlessException e) { 33 | Framework.logger.error("Before sending mails you must specify a username and a password in mail.properties. If your SMTP server does not need authentication, set mail.smtp.auth to false."); 34 | } 35 | 36 | return new PasswordAuthentication(username, password); 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/util/UnicornVelocityTool.java: -------------------------------------------------------------------------------- 1 | // Author: Thomas Gambet 2 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.util; 5 | 6 | public class UnicornVelocityTool { 7 | 8 | public boolean isTemporaryURL(String url) { 9 | if (url == null) 10 | return false; 11 | if (url.startsWith(Property.get("UNICORN_URL"))) 12 | return true; 13 | return false; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/util/Unmarshaller.java: -------------------------------------------------------------------------------- 1 | // Author: Damien LEROY. 2 | // (c) COPYRIGHT MIT, ERCIM ant Keio, 2010. 3 | // Please first read the full copyright statement in file COPYRIGHT.html 4 | package org.w3c.unicorn.util; 5 | 6 | import java.io.IOException; 7 | import java.net.URL; 8 | 9 | /** 10 | * Interface for all unmarshaller class in package unicorn. 11 | * 12 | * @author Damien LEROY 13 | */ 14 | public interface Unmarshaller { 15 | 16 | public void addURL(final URL aURL) throws IOException; 17 | 18 | public void unmarshal() throws Exception; 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/org/w3c/unicorn/util/XHTMLize.java: -------------------------------------------------------------------------------- 1 | // (c) COPYRIGHT MIT, ERCIM and Keio, 2010. 2 | // Please first read the full copyright statement in file COPYRIGHT.html 3 | package org.w3c.unicorn.util; 4 | 5 | import org.apache.velocity.app.event.ReferenceInsertionEventHandler; 6 | 7 | public class XHTMLize implements ReferenceInsertionEventHandler { 8 | 9 | /** 10 | * Escape the XML entities for all inserted references. 11 | */ 12 | public Object referenceInsert(final String sReference, final Object oValue) { 13 | if (oValue == null) { 14 | return null; 15 | } 16 | return oValue.toString(); 17 | 18 | /*if (sReference.startsWith("$ucn.evaluate")) 19 | return oValue.toString(); 20 | if (sReference.contains("getDescription()")) 21 | return oValue.toString(); 22 | else 23 | return StringEscapeUtils.escapeHtml(oValue.toString());*/ 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /w3c.json: -------------------------------------------------------------------------------- 1 | { 2 | "repo-type": "tool", 3 | "contacts": ["jean-gui", "vivienlacourba"] 4 | } 5 | --------------------------------------------------------------------------------