mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
187c2dda20
commit
cb166e2591
1 changed files with 3 additions and 3 deletions
|
@ -69,7 +69,7 @@ struct ReplaceUnwrap<Tag, Tags...> {
|
||||||
Type accumulated,
|
Type accumulated,
|
||||||
const Value &value,
|
const Value &value,
|
||||||
const Values &...values) {
|
const Values &...values) {
|
||||||
return ReplaceUnwrap<Tags...>::template Call(
|
return ReplaceUnwrap<Tags...>::Call(
|
||||||
ReplaceTag<Type>::Call(
|
ReplaceTag<Type>::Call(
|
||||||
std::move(accumulated),
|
std::move(accumulated),
|
||||||
TagValue<Tag>(),
|
TagValue<Tag>(),
|
||||||
|
@ -92,7 +92,7 @@ struct Producer {
|
||||||
|
|
||||||
template <typename P, typename ...Values>
|
template <typename P, typename ...Values>
|
||||||
[[nodiscard]] static S<P> Current(ushort base, P p, const Values &...values) {
|
[[nodiscard]] static S<P> Current(ushort base, P p, const Values &...values) {
|
||||||
return ReplaceUnwrap<Tags...>::template Call(
|
return ReplaceUnwrap<Tags...>::Call(
|
||||||
p(Lang::details::Current(base)),
|
p(Lang::details::Current(base)),
|
||||||
values...);
|
values...);
|
||||||
}
|
}
|
||||||
|
@ -161,7 +161,7 @@ struct Producer<lngtag_count, Tags...> {
|
||||||
float64 count,
|
float64 count,
|
||||||
const Values &...values) {
|
const Values &...values) {
|
||||||
auto plural = Plural(base, count, type);
|
auto plural = Plural(base, count, type);
|
||||||
return ReplaceUnwrap<Tags...>::template Call(
|
return ReplaceUnwrap<Tags...>::Call(
|
||||||
ReplaceTag<S<P>>::Call(
|
ReplaceTag<S<P>>::Call(
|
||||||
p(Lang::details::Current(base + plural.keyShift)),
|
p(Lang::details::Current(base + plural.keyShift)),
|
||||||
TagValue<lngtag_count>(),
|
TagValue<lngtag_count>(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue