/
renath
/
organicmaps
Обзор
Документация
Войти
/
renath
/
organicmaps
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
libs/platform/localization_dummy.cpp
33 строки
625 B
Alexander Borsuk
clang-format
24 июл 2025, 15:48
24 июл 2025, 15:48
15b66d5
Код
Авторство
О чём код?
#include <ctime> #include "platform/localization.hpp" namespace platform { std::string GetLocalizedTypeName(std::string const & type) { return type; } std::string GetLocalizedBrandName(std::string const & brand) { return brand; } std::string GetLocalizedString(std::string const & key) { return key; } std::string GetCurrencySymbol(std::string const & currencyCode) { return currencyCode; } std::string GetLocalizedMyPositionBookmarkName() { std::time_t t = std::time(nullptr); char buf[100] = {0}; (void)std::strftime(buf, sizeof(buf), "%Ec", std::localtime(&t)); return buf; } } // namespace platform