Skip to content

Commit

Permalink
- don't use System.gettext for Modelica constructs
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22498 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Sep 30, 2014
1 parent 0705075 commit e2f0deb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Compiler/FFrontEnd/FMod.mo
Expand Up @@ -245,11 +245,11 @@ algorithm
String name;
Absyn.Path path;

case FCore.MS_COMPONENT(name = name) then System.gettext("component ") +& name;
case FCore.MS_EXTENDS(path = path) then System.gettext("extends ") +& Absyn.pathString(path);
case FCore.MS_DERIVED(path = path) then System.gettext("inherited class ") +& Absyn.pathString(path);
case FCore.MS_CLASS_EXTENDS(name = name) then System.gettext("class extends class ") +& name;
case FCore.MS_CONSTRAINEDBY(path = path) then System.gettext("constrainedby class ") +& Absyn.pathString(path);
case FCore.MS_COMPONENT(name = name) then "component " +& name;
case FCore.MS_EXTENDS(path = path) then "extends " +& Absyn.pathString(path);
case FCore.MS_DERIVED(path = path) then "inherited class " +& Absyn.pathString(path);
case FCore.MS_CLASS_EXTENDS(name = name) then "class extends class " +& name;
case FCore.MS_CONSTRAINEDBY(path = path) then "constrainedby class " +& Absyn.pathString(path);

end match;
end printModScope;
Expand Down

0 comments on commit e2f0deb

Please sign in to comment.