Skip to content

Commit bd6f7f5

Browse files
committed
#4 Removed reference to missing xml.xsd
1 parent f099dbc commit bd6f7f5

File tree

6 files changed

+65
-68
lines changed

6 files changed

+65
-68
lines changed

css/xliff2.css

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,14 @@ translation,
1919
definition {
2020
display: block;
2121
}
22-
x12|xliff:before(10) {
22+
xliff:before(10) {
2323
margin-top: 1em;
2424
margin-bottom: 1em;
2525
display: block;
2626
font-size: 1.5em;
2727
text-align: center;
2828
font-family: arial, helvetica, sans-serif;
29-
content: "XLIFF 1.2";
30-
}
31-
x20|xliff:before(10) {
32-
margin-top: 1em;
33-
margin-bottom: 1em;
34-
display: block;
35-
font-size: 1.5em;
36-
text-align: center;
37-
font-family: arial, helvetica, sans-serif;
38-
content: "XLIFF 2.0";
29+
content: "XLIFF " attr(version);
3930
}
4031
*|xliff[srcLang][trgLang]:before(8) {
4132
display: block;
@@ -114,7 +105,7 @@ x20|file:-oxy-edit:before(11) {
114105
}
115106
x12|file:before,
116107
x20|file:before {
117-
content: oxy_checkbox(edit, '@translate', labels, '') oxy_label(text, "Translate") " " oxy_checkbox(edit, '@canResegment', labels, '') oxy_label(text, "Can resegment ");
108+
content: oxy_label(text, "Translate") oxy_combobox(edit, '@translate') " " oxy_label(text, "Can resegment ") oxy_combobox(edit, '@canResegment');
118109
}
119110
x12|file > *,
120111
x20|file > * {
@@ -222,22 +213,16 @@ tool:before {
222213
trans-unit {
223214
margin: 2px;
224215
}
225-
trans-unit:before{
226-
content:"Translation Unit, Approved: "
227-
oxy_checkbox(
228-
edit, '@approved',
229-
values, 'yes',
230-
uncheckedValues, 'no',
231-
labels, 'Approved'
232-
);
233-
color:gray;
216+
trans-unit:before {
217+
content: "Translation Unit, Approved: " oxy_checkbox(edit, '@approved', values, 'yes', uncheckedValues, 'no', labels, 'Approved');
218+
color: gray;
234219
}
235220
trans-unit[approved="yes"] > * {
236-
-oxy-editable: false;
237-
background-color: #c8ffd2;
238-
border: 1pt solid #82c896;
239-
/* Add transparency */
240-
color:rgba(50, 50, 50, 0.7);
221+
-oxy-editable: false;
222+
background-color: #c8ffd2;
223+
border: 1pt solid #82c896;
224+
/* Add transparency */
225+
color: rgba(50, 50, 50, 0.7);
241226
}
242227
trans-unit > * {
243228
padding-left: 1em;

css/xliff2.less

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,9 @@ glossary, glossentry, term, translation, definition{
6767
}
6868
}
6969

70-
71-
72-
x12|xliff:before(10) {
73-
.title();
74-
content: "XLIFF 1.2";
75-
}
76-
x20|xliff:before(10) {
70+
xliff:before(10) {
7771
.title();
78-
content: "XLIFF 2.0";
72+
content: "XLIFF " attr(version);
7973
}
8074

8175
*|xliff[srcLang][trgLang]:before(8) {
@@ -165,17 +159,15 @@ x20|file:-oxy-edit:before(11){
165159
x12|file:before,
166160
x20|file:before{
167161
content:
168-
oxy_checkbox(
169-
edit, '@translate',
170-
labels, ''
171-
)
172162
oxy_label(text, "Translate")
173-
" "
174-
oxy_checkbox(
175-
edit, '@canResegment',
176-
labels, ''
163+
oxy_combobox(
164+
edit, '@translate'
177165
)
166+
" "
178167
oxy_label(text, "Can resegment ")
168+
oxy_combobox(
169+
edit, '@canResegment'
170+
)
179171
}
180172

181173
x12|file > *,

schemas/2.1/catalog.xml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
3-
XLIFF Version 2.1
4-
Committee Specification Draft 01 / Public Review Draft 01
5-
14 October 2016
6-
Copyright (c) OASIS Open 2016. All Rights Reserved.
7-
Source: http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd01/schemas/
8-
Latest version of narrative specification: http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.html
9-
TC IPR Statement: https://www.oasis-open.org/committees/xliff/ipr.php
10-
11-
-->
12-
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
13-
<uri name="http://www.w3.org/XML/1998/namespace" uri="informativeCopiesOf3rdPartySchemas/w3c/xml.xsd"/>
14-
<uri name="urn:oasis:names:tc:xliff:document:2.0" uri="xliff_core_2.0.xsd"/>
15-
<uri name="urn:oasis:names:tc:xliff:changetracking:2.1" uri="change_tracking.xsd"/>
16-
<uri name="urn:oasis:names:tc:xliff:fs:2.0" uri="fs.xsd"/>
17-
<uri name="urn:oasis:names:tc:xliff:glossary:2.0" uri="glossary.xsd"/>
18-
<uri name="urn:oasis:names:tc:xliff:matches:2.0" uri="matches.xsd"/>
19-
<uri name="urn:oasis:names:tc:xliff:metadata:2.0" uri="metadata.xsd"/>
20-
<uri name="urn:oasis:names:tc:xliff:resourcedata:2.0" uri="resource_data.xsd"/>
21-
<uri name="urn:oasis:names:tc:xliff:sizerestriction:2.0" uri="size_restriction.xsd"/>
22-
<uri name="urn:oasis:names:tc:xliff:validation:2.0" uri="validation.xsd"/>
23-
<uri name="urn:oasis:names:tc:xliff:itsm:2.1" uri="itsm.xsd"/>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
XLIFF Version 2.1
4+
Committee Specification Draft 01 / Public Review Draft 01
5+
14 October 2016
6+
Copyright (c) OASIS Open 2016. All Rights Reserved.
7+
Source: http://docs.oasis-open.org/xliff/xliff-core/v2.1/csprd01/schemas/
8+
Latest version of narrative specification: http://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.html
9+
TC IPR Statement: https://www.oasis-open.org/committees/xliff/ipr.php
10+
11+
-->
12+
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
13+
<uri name="urn:oasis:names:tc:xliff:document:2.0" uri="xliff_core_2.0.xsd"/>
14+
<uri name="urn:oasis:names:tc:xliff:changetracking:2.1" uri="change_tracking.xsd"/>
15+
<uri name="urn:oasis:names:tc:xliff:fs:2.0" uri="fs.xsd"/>
16+
<uri name="urn:oasis:names:tc:xliff:glossary:2.0" uri="glossary.xsd"/>
17+
<uri name="urn:oasis:names:tc:xliff:matches:2.0" uri="matches.xsd"/>
18+
<uri name="urn:oasis:names:tc:xliff:metadata:2.0" uri="metadata.xsd"/>
19+
<uri name="urn:oasis:names:tc:xliff:resourcedata:2.0" uri="resource_data.xsd"/>
20+
<uri name="urn:oasis:names:tc:xliff:sizerestriction:2.0" uri="size_restriction.xsd"/>
21+
<uri name="urn:oasis:names:tc:xliff:validation:2.0" uri="validation.xsd"/>
22+
<uri name="urn:oasis:names:tc:xliff:itsm:2.1" uri="itsm.xsd"/>
2423
</catalog>

xliff.framework

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<serialized version="17.1" xml:space="preserve">
2+
<serialized version="21.1" xml:space="preserve">
33
<serializableOrderedMap>
44
<entry>
55
<String>document.types</String>
@@ -67,6 +67,9 @@
6767
<field name="menuEntriesDescriptorList">
6868
<menuEntry-array/>
6969
</field>
70+
<field name="context">
71+
<null/>
72+
</field>
7073
</menu>
7174
</field>
7275
<field name="popupMenuDescriptor">
@@ -83,6 +86,9 @@
8386
<field name="menuEntriesDescriptorList">
8487
<menuEntry-array/>
8588
</field>
89+
<field name="context">
90+
<null/>
91+
</field>
8692
</menu>
8793
</field>
8894
<field name="toolbarDescriptor">
@@ -120,18 +126,30 @@
120126
<field name="tableSupportClassName">
121127
<null/>
122128
</field>
129+
<field name="tableCellSeparatorSupportClassName">
130+
<null/>
131+
</field>
123132
<field name="tableColWidthSupportClassName">
124133
<null/>
125134
</field>
126135
<field name="customReferencesResolver">
127136
<null/>
128137
</field>
138+
<field name="editPropertiesHandler">
139+
<null/>
140+
</field>
129141
<field name="authorExtensionStateListener">
130142
<null/>
131143
</field>
132144
<field name="attributesRecognizer">
133145
<null/>
134146
</field>
147+
<field name="authorActionEventHandler">
148+
<null/>
149+
</field>
150+
<field name="authorImageDecorator">
151+
<null/>
152+
</field>
135153
</authorExtension>
136154
</field>
137155
<field name="templatesLocations">
@@ -231,6 +249,9 @@
231249
<field name="customAttributeValueEditor">
232250
<null/>
233251
</field>
252+
<field name="textModeExternalObjectInsertionHandler">
253+
<null/>
254+
</field>
234255
</documentTypeDescriptor>
235256
</documentTypeDescriptor-array>
236257
</entry>

xliff_2.0.framework

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<serialized version="21.0" xml:space="preserve">
2+
<serialized version="21.1" xml:space="preserve">
33
<serializableOrderedMap>
44
<entry>
55
<String>document.types</String>

xliff_2.1.framework

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<serialized version="21.0" xml:space="preserve">
2+
<serialized version="21.1" xml:space="preserve">
33
<serializableOrderedMap>
44
<entry>
55
<String>document.types</String>

0 commit comments

Comments
 (0)