javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/midp2/uninstall/steps/ConfirmUninstallation.java
equal
deleted
inserted
replaced
74 if (locale != null) |
74 if (locale != null) |
75 { |
75 { |
76 int idxMinus = -1; |
76 int idxMinus = -1; |
77 do |
77 do |
78 { |
78 { |
79 attrValue = ball.iSuite.getAttributeValue(attrName + "-" + locale); |
79 String localizedAttrName = "Nokia-" + attrName + "-" + locale; |
80 Log.log(attrName + "-" + locale + ": " + attrValue); |
80 attrValue = ball.iSuite.getAttributeValue(localizedAttrName); |
|
81 Log.log(localizedAttrName + ": " + attrValue); |
81 idxMinus = locale.lastIndexOf('-'); |
82 idxMinus = locale.lastIndexOf('-'); |
82 // If attribute is not found using full locale, e.g. 'en-GB', |
83 // If attribute is not found using full locale, e.g. 'en-GB', |
83 // strip the most specific part of the locale out |
84 // strip the most specific part of the locale out |
84 // (so that locale will be e.g. 'en') and try again. |
85 // (so that locale will be e.g. 'en') and try again. |
85 if (idxMinus != -1) |
86 if (idxMinus != -1) |