Author: ug Date: Fri Feb 6 14:17:25 2009 New Revision: 55300 URL: http://svn.opensuse.org/viewcvs/yast?rev=55300&view=rev Log: another dialog with missing translations Modified: trunk/autoinstallation/src/modules/AutoinstClone.ycp Modified: trunk/autoinstallation/src/modules/AutoinstClone.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/modules/AutoinstClone.ycp?rev=55300&r1=55299&r2=55300&view=diff ============================================================================== --- trunk/autoinstallation/src/modules/AutoinstClone.ycp (original) +++ trunk/autoinstallation/src/modules/AutoinstClone.ycp Fri Feb 6 14:17:25 2009 @@ -220,11 +220,14 @@ "software" == def_resource || /* has no desktop file */ "bootloader" == def_resource ) { + string desktop_file = substring( resourceMap["X-SuSE-DocTeamID"]:"", 4 ); + string name = dpgettext("desktop_translations", "/usr/share/locale/", "Name("+desktop_file+".desktop): "+resourceMap["Name"]:"" ); + if( name == "Name("+desktop_file+".desktop): "+resourceMap["Name"]:"" ) + name = resourceMap["Name"]:""; // Set resource name, if not using default value string resource = resourceMap["X-SuSE-YaST-AutoInstResource"]:""; if (resource == "") resource = def_resource; - string name = resourceMap["Name"]:""; if (resource != "") { items = add(items, `item(`id(resource), name ) ); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org