PageRenderTime 18ms CodeModel.GetById 11ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/test/language/unclassified/uw/aux_uw01preferred_language.e

http://github.com/tybor/Liberty
Specman e | 130 lines | 91 code | 20 blank | 19 comment | 0 complexity | 15e4b31fc2159bed82e3686177261db3 MD5 | raw file
  1note
  2   description:
  3      "preferred language (German)"
  4   status:
  5      "See notice at end of class"
  6   author:
  7      "Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>"
  8   version:
  9      "$Revision$"
 10   last_modification:
 11      "$Date$"
 12class AUX_UW01PREFERRED_LANGUAGE
 13
 14inherit
 15   AUX_UW01LANGUAGE
 16      redefine s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, s14, s15, s16, yes_character, no_character
 17      end
 18
 19feature {ANY} -- strings
 20   s1: STRING
 21      once
 22         Result := "animal_action (is it a ..)%N"
 23      end
 24
 25   s2: STRING
 26      once
 27         Result := "Erraten!%N"
 28      end
 29
 30   s3: STRING
 31      once
 32         Result := "Dieses Tier kenne ich nicht!%N"
 33      end
 34
 35   s4: STRING
 36      once
 37         Result := "Ist es ein "
 38      end
 39
 40   s5: STRING
 41      once
 42         Result := " ? "
 43      end
 44
 45   s6: STRING
 46      once
 47         Result := "(j/n): "
 48      end
 49
 50   s7: STRING
 51      once
 52         Result := "Nochmal ? "
 53      end
 54
 55   s8: STRING
 56      once
 57         Result := "F�r ein `"
 58      end
 59
 60   s9: STRING
 61      once
 62         Result := "' ist die Antwort auf die Frage%N`"
 63      end
 64
 65   s10: STRING
 66      once
 67         Result := "'? (j/n): "
 68      end
 69
 70   s11: STRING
 71      once
 72         Result := "Welche Frage unterscheidet "
 73      end
 74
 75   s12: STRING
 76      once
 77         Result := " von "
 78      end
 79
 80   s13: STRING
 81      once
 82         Result := "?%N"
 83      end
 84
 85   s14: STRING
 86      once
 87         Result := "question_action (Question: ..)%N"
 88      end
 89
 90   s15: STRING
 91      once
 92         Result := "Tier eingeben: "
 93      end
 94
 95   s16: STRING
 96      once
 97         Result := "Frage eingeben: "
 98      end
 99
100feature {ANY} -- magic characters
101   yes_character: CHARACTER
102         -- character used for positive replies
103      once
104         Result := 'j'
105      end
106
107   no_character: CHARACTER
108         -- character used for negative replies
109      once
110         Result := 'n'
111      end
112
113end -- class AUX_UW01PREFERRED_LANGUAGE
114-- Copyright (C) 1998-2017: by Ulrich Windl
115-- Copyright (C) 1998-2017: by Klinikum der Universit�t Regensburg,
116--      D-93042 Regensburg
117--
118--  This program is free software; you can redistribute it and/or modify
119--  it under the terms of the GNU General Public License as published by
120--  the Free Software Foundation; either version 2 of the License, or
121--  (at your option) any later version.
122--
123--  This program is distributed in the hope that it will be useful,
124--  but WITHOUT ANY WARRANTY; without even the implied warranty of
125--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
126--  GNU General Public License for more details.
127--
128--  You should have received a copy of the GNU General Public License
129--  along with this program; if not, write to the Free Software
130--  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301, USA