summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-30 22:51:12 -0400
committerwushin <pasekei@gmail.com>2014-06-30 22:45:32 -0500
commit77f59b8d07736f2fa20bfab3a63d0a6dd968c8a2 (patch)
treef4b397f1b95a6c5a7acdf0d388d13e6ca1193fcd
parent8b687b477f2ab5b683bb98bd3446e7b8af359913 (diff)
downloadclientdata-77f59b8d07736f2fa20bfab3a63d0a6dd968c8a2.tar.gz
clientdata-77f59b8d07736f2fa20bfab3a63d0a6dd968c8a2.tar.bz2
clientdata-77f59b8d07736f2fa20bfab3a63d0a6dd968c8a2.tar.xz
clientdata-77f59b8d07736f2fa20bfab3a63d0a6dd968c8a2.zip
add translation headers to xml files
-rw-r--r--ea-skills.xml6
-rw-r--r--hair.xml5
-rw-r--r--items.xml7
-rw-r--r--monsters.xml5
4 files changed, 23 insertions, 0 deletions
diff --git a/ea-skills.xml b/ea-skills.xml
index 614cea10..c2496c7b 100644
--- a/ea-skills.xml
+++ b/ea-skills.xml
@@ -4,6 +4,12 @@
Future version will use skills.xml
-->
<skills>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+ <its:translateRule selector="//set/@name" translate="yes"/>
+ <its:translateRule selector="//set/skill/@name" translate="yes"/>
+ <its:translateRule selector="//set/skill/@description" translate="yes"/>
+ <its:translateRule selector="//*" translate="no"/>
+ </its:rules>
<set name="Basic">
<skill id="1" name="Emote" icon="graphics/skills/basic/emote.png"/>
<skill id="2" name="Trade" icon="graphics/skills/basic/trade.png"/>
diff --git a/hair.xml b/hair.xml
index f4fd843e..a6896f61 100644
--- a/hair.xml
+++ b/hair.xml
@@ -1,5 +1,10 @@
<?xml version="1.0"?>
<colors>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+ <its:translateRule selector="//color/@name" translate="yes"/>
+ <its:translateRule selector="//*" translate="no"/>
+ </its:rules>
+
<color id="0" value="#8c4b41,da9041,ffffff" name="light brown"/>
<color id="1" value="#06372b,489e25,fdedcc" name="green"/>
<color id="2" value="#5f0b33,91191c,f9ad81" name="red"/>
diff --git a/items.xml b/items.xml
index e4733bb6..0baae82f 100644
--- a/items.xml
+++ b/items.xml
@@ -12,6 +12,13 @@
<items>
<version revision="$Revision$" />
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+ <its:translateRule selector="//item/@name" translate="yes"/>
+ <its:translateRule selector="//item/@description" translate="yes"/>
+ <its:translateRule selector="//item/@effect" translate="yes"/>
+ <its:translateRule selector="//*" translate="no"/>
+ </its:rules>
+
<item id="-1" type="hairsprite" name="Flat ponytail">
<sprite gender="male">hairstyles/hairstyle01-male.xml</sprite>
<sprite gender="female">hairstyles/hairstyle01-female.xml</sprite>
diff --git a/monsters.xml b/monsters.xml
index 58048de5..dfcbcc08 100644
--- a/monsters.xml
+++ b/monsters.xml
@@ -3,6 +3,11 @@
See here for documentation: http://doc.manasource.org/monsters.xml
-->
<monsters offset="0">
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
+ <its:translateRule selector="//monster/@name" translate="yes"/>
+ <its:translateRule selector="//*" translate="no"/>
+ </its:rules>
+
<monster id="1002" name="Maggot" targetCursor="small">
<sprite>monsters/maggot.xml</sprite>
<sound event="hit">monsters/maggot/maggot-hit1.ogg</sound>