View Full Version : [BUG - FIXED] Missing YES/NO strings in strings.xml
mindweaver
2009-03-31, 20:26
I have revised the Swedish translation made by asphinx and we can't seem to find where "YES" and "NO" is located? They do not seem to exist in the language file.
http://tillytech.se/screenshot002.jpg
the DialogYesNo.xml just needs to be localize, and i would think it will pull the YES/NO from XBMC/language/Swedish/strings.xml and not Aeon strings.xml
DialogYesNo.xml
<control type="button" id="10">
<posx>40</posx>
<posy>101</posy>
<width>627</width>
<height>51</height>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
<align>center</align>
<font>Font_ProgressLabelYesNo</font>
<textcolor>d0ffffff</textcolor>
<label>106</label><!-- <<<<< ADD this -->
<include>DialogInfo</include>
<scroll>true</scroll>
<onleft>11</onleft>
<onright>11</onright>
<onup>11</onup>
<ondown>11</ondown>
<include>Animation_CommonFade</include>
<animation effect="slide" start="0,-15" end="0,-15" time="0" condition="IsEmpty(Control.GetLabel(3)) + IsEmpty(Control.GetLabel(4))">Conditional</animation>
<animation effect="slide" start="0,0" end="0,0" time="0" condition="!IsEmpty(Control.GetLabel(3)) + IsEmpty(Control.GetLabel(4))">Conditional</animation>
<visible allowhiddenfocus="true">Control.HasFocus(10)</visible>
</control>
<control type="button" id="11">
<posx>40</posx>
<posy>101</posy>
<width>627</width>
<height>51</height>
<texturefocus>-</texturefocus>
<texturenofocus>-</texturenofocus>
<align>center</align>
<font>Font_ProgressLabelYesNo</font>
<textcolor>d0ffffff</textcolor>
<label>107</label><!-- <<<<< ADD this -->
<include>DialogInfo</include>
<scroll>true</scroll>
<onleft>10</onleft>
<onright>10</onright>
<onup>10</onup>
<ondown>10</ondown>
<include>Animation_CommonFade</include>
<animation effect="slide" start="0,-15" end="0,-15" time="0" condition="IsEmpty(Control.GetLabel(3)) + IsEmpty(Control.GetLabel(4))">Conditional</animation>
<animation effect="slide" start="0,0" end="0,0" time="0" condition="!IsEmpty(Control.GetLabel(3)) + IsEmpty(Control.GetLabel(4))">Conditional</animation>
<visible allowhiddenfocus="true">Control.HasFocus(11)</visible>
</control>
That actually sounds like it might do it, although I'm skeptical as the strings in question aren't actually pulled from Aeon (Aeon has no YES or NO strings), which means they must be pulled from the wrong localization string.xml..
it was not that it was pulling it from the wrong localization string.xml, it just did not have the localize code in that file yet it just had YES and NO :)
Oh.. well, it that case, thank you very much.. :)