mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 07:59:18 +02:00
build 170712. increased amount of generic cab items, varying command repeat rate for mouse control
This commit is contained in:
31
translation.cpp
Normal file
31
translation.cpp
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
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
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user