mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
32 lines
703 B
C++
32 lines
703 B
C++
/*
|
|
This Source Code Form is subject to the
|
|
terms of the Mozilla Public License, v.
|
|
2.0. If a copy of the MPL was not
|
|
distributed with this file, You can
|
|
obtain one at
|
|
http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
/*
|
|
MaSzyna EU07 locomotive simulator
|
|
Copyright (C) 2001-2004 Marcin Wozniak, Maciej Czapkiewicz and others
|
|
*/
|
|
|
|
#include "stdafx.h"
|
|
#include "translation.h"
|
|
|
|
namespace locale {
|
|
|
|
std::string
|
|
label_cab_control( std::string const &Label ) {
|
|
|
|
auto const lookup = m_cabcontrols.find( Label );
|
|
return (
|
|
lookup != m_cabcontrols.end() ?
|
|
lookup->second :
|
|
"" );
|
|
}
|
|
|
|
} // namespace locale
|
|
|
|
//---------------------------------------------------------------------------
|