[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 1165
Date       : Mon May 22 20:15:41 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/fontdrop.cpp
   M /Trunk/XaraLX/wxOil/xrc/EN/xaralxonly-strings.xrc

Internationalise " (missing)" string


Diff:
Index: Trunk/XaraLX/wxOil/xrc/EN/xaralxonly-strings.xrc
===================================================================
--- Trunk/XaraLX/wxOil/xrc/EN/xaralxonly-strings.xrc	(revision 1164)
+++ Trunk/XaraLX/wxOil/xrc/EN/xaralxonly-strings.xrc	(revision 1165)
@@ -335,6 +335,12 @@
 					<label>Generate Error &Report</label>
 				</object>
 			</object>
+			<object class="sizeritem">
+				<flag>wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE</flag>
+				<object class="wxStaticText" name="IDS_FONTMISSING">
+					<label> (missing)</label>
+				</object>
+			</object>
 		</object>
 	</object>
 </resource>
Index: Trunk/XaraLX/wxOil/fontdrop.cpp
===================================================================
--- Trunk/XaraLX/wxOil/fontdrop.cpp	(revision 1164)
+++ Trunk/XaraLX/wxOil/fontdrop.cpp	(revision 1165)
@@ -498,7 +498,8 @@
 		TRACEUSER("wuerthne", _T("font not in list, Index = %d"), Index);
 		// font was not in the list, so make sure there is a special item at the
 		// end to accomodate it
-		String_64 NewName(TheFont->FontName + _T(" (missing)"));
+		String_64 NewName(TheFont->FontName);
+		NewName += String_64(_R(IDS_FONTMISSING));
 			
 		if (m_MissingItemAdded)
 		{


Xara