~aleteoryx/muditaos

ref: e125c4af7caffe0b66e62e6f9fb46b66eddbb22b muditaos/module-utils/language/LanguageUtils.hpp -rw-r--r-- 523 bytes
e125c4af — Lefucjusz [BH-2019] Fix crash after deleting WAV alarm sound 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include <string>

namespace utils::language
{
    auto getCorrectMinutesNumeralForm(std::uint32_t val) -> std::string;
    auto getCorrectSecondsNumeralForm(std::uint32_t val) -> std::string;

    auto getCorrectMinutesAccusativeForm(std::uint32_t val) -> std::string;

    auto getCorrectMultiplicityForm(std::uint32_t val) -> std::string;
} // namespace utils::language