OpenBeam
C++ library for static analysis of mechanical structures
languages.h
1 /* +---------------------------------------------------------------------------+
2  | OpenBeam - C++ Finite Element Analysis library |
3  | |
4  | Copyright (C) 2010-2021 Jose Luis Blanco Claraco |
5  | University of Malaga |
6  | |
7  | OpenBeam is free software: you can redistribute it and/or modify |
8  | it under the terms of the GNU General Public License as published by |
9  | the Free Software Foundation, either version 3 of the License, or |
10  | (at your option) any later version. |
11  | |
12  | OpenBeam is distributed in the hope that it will be useful, |
13  | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14  | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15  | GNU General Public License for more details. |
16  | |
17  | You should have received a copy of the GNU General Public License |
18  | along with OpenBeam. If not, see <http://www.gnu.org/licenses/>. |
19  | |
20  +---------------------------------------------------------------------------+
21  */
22 
23 #pragma once
24 
25 namespace openbeam
26 {
27 namespace localization
28 {
29 // This list must be kept synch with "lang_names" in localization.cpp
30 enum TLanguage
31 {
32  LANG_EN = 0,
33  LANG_ES,
34 
35  // Always leave this as the last one
36  NUMBER_OF_LANGUAGES
37 };
38 
39 // Add one declaration for each language declared above.
40 // Strings are defined in the files "lang_**.cpp".
41 extern const char* strs_en[];
42 extern const char* strs_es[];
43 } // namespace localization
44 } // namespace openbeam