[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Fri Sep 8 03:41:58 UTC 2006
SVN commit 581959 by okellogg:
load(): Checking the datatype folder by name creates an i18n problem.
At least handle interop with English - interop between non English languages
is still broken.
M +2 -1 folder.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/folder.cpp #581958:581959
@@ -373,7 +373,8 @@
UMLFolder *logicalView = umldoc->getRootFolder(Uml::mt_Logical);
if (this == logicalView && Uml::tagEq(type, "Package")) {
QString thisName = tempElement.attribute("name", "");
- if (thisName == umldoc->datatypeFolderName()) {
+ if (thisName == umldoc->datatypeFolderName() ||
+ thisName == "Datatypes") { // @todo checking for name creates i18n problem
UMLFolder *datatypeFolder = umldoc->getDatatypeFolder();
if (!datatypeFolder->loadFromXMI(tempElement))
totalSuccess = false;
More information about the umbrello-devel
mailing list