~aleteoryx/muditaos

ref: a9b9921f017bb5d3ad4deed446e5024dd04d76d1 muditaos/module-utils/language/LanguageUtils.hpp -rw-r--r-- 523 bytes
a9b9921f — Maciej Gibowicz [BH-2067] Fix fade in for relaxation after pausing a song 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