Version: 1.4.2 (using KDE KDE 3.4.2) If a document is edited with a i18n definition and then re-edited with a different i18n definition, the stereotype names, which are given automatically, can't be edited and Umbrello starts naming stereotypes according to the current i18n definition. This behaviour ends up forcing a Umbrello document to have multiple names for the same thing: the stereotype.
SVN commit 455169 by okellogg: BUG:111759 - UML standard predefined stereotypes are not subject to l10n. M +1 -1 ChangeLog M +1 -1 umbrello/classifier.cpp M +1 -1 umbrello/datatype.cpp M +1 -1 umbrello/enum.cpp --- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #455168:455169 @@ -10,7 +10,7 @@ * Bugs fixed / wishes implemented (see http://bugs.kde.org) 57588 58809 66461 67719 72016 79433 87252 88117 97162 105564 -108223 109591 109636 110216 110231 110379 111088 111470 111502 +108223 109591 109636 110216 110231 110379 111088 111470 111502 111759 Version 1.4.2 (maintenance release) --- branches/KDE/3.5/kdesdk/umbrello/umbrello/classifier.cpp #455168:455169 @@ -51,7 +51,7 @@ UMLListView::Icon_Type newIcon; if (b) { m_BaseType = ot_Interface; - UMLObject::setStereotype(i18n("interface")); + UMLObject::setStereotype("interface"); newIcon = UMLListView::it_Interface; } else { m_BaseType = ot_Class; --- branches/KDE/3.5/kdesdk/umbrello/umbrello/datatype.cpp #455168:455169 @@ -65,7 +65,7 @@ void UMLDatatype::init() { m_BaseType = Uml::ot_Datatype; - setStereotype( i18n("datatype") ); + setStereotype( "datatype" ); m_pSecondary = NULL; m_isRef = false; } --- branches/KDE/3.5/kdesdk/umbrello/umbrello/enum.cpp #455168:455169 @@ -51,7 +51,7 @@ void UMLEnum::init() { m_BaseType = Uml::ot_Enum; - setStereotype( i18n("enum") ); + setStereotype( "enum" ); } UMLObject* UMLEnum::createEnumLiteral() {
Boy, that was quick! Thanks again, Olivier!