In my textbook, the author deduce the expression of the lagrangian $L(q_i(t), \dot q_i(t), t )$ of a free particle only using classical physical symmetries where the $q_i(t)$ are independent coordinates and the $\dot q_i(t)$ their derivatives by time. To simplify let's just pretend $q_i(t) = x(t)$, and the lagrangian becomes $L(x(t), \dot x(t), t)$.
The proof begins with explaining that "the homogeneity of time implies that the Lagrangian cannot contain explicitly the time $t$".
I would like the mathematical proof of this statement but I am struggling. I have to prove that $\dfrac{\partial L}{\partial t} = 0$.
Let $t'$ be the image of $t$ by a translation $t' = t + dt$ with $dt$ an infinitesimal time duration. This should induce $x$ and $\dot x$ variations:
$$ L(x(t'), \dot x(t'), t') = L(x(t) + \delta x, \dot x(t) + \delta \dot x, t + d\tau) $$
Assuming lagrangian is time translation invariant, $L(x(t'), \dot x(t'), t') = L(x(t), \dot x(t), t) \quad (*)$.
Using first order Taylor's expansion: $$ L(x(t'), \dot x(t'), t') = L(x(t), \dot x(t), t) + \dfrac{\partial L}{\partial x}\delta x + \dfrac{\partial L}{\partial \dot x}\delta \dot x + \dfrac{\partial L}{\partial t} dt + \mathcal{o}(\lvert\lvert (\delta x, \delta \dot x, dt)\rvert\rvert) $$
by neglecting higher order terms, $(*)$ becomes :
$$ L(x(t), \dot x(t), t) + \dfrac{\partial L}{\partial x}\delta x + \dfrac{\partial L}{\partial \dot x}\delta \dot x + \dfrac{\partial L}{\partial t} dt = L(x(t), \dot x(t), t) $$
$$ \dfrac{\partial L}{\partial x}\delta x + \dfrac{\partial L}{\partial \dot x}\delta \dot x + \dfrac{\partial L}{\partial t} dt = 0 $$
How can I deduct that $\dfrac{\partial L}{\partial t} = 0$ ?