mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
L10n: Fix work of JS tr function with numbered strings
This commit is contained in:
parent
48bfd36807
commit
a1691a1485
1 changed files with 2 additions and 2 deletions
|
@ -17,10 +17,10 @@ function tr(string, ...args) {
|
|||
}
|
||||
|
||||
let newOutput = window.lang[numberedString];
|
||||
if(newOutput === null)
|
||||
if(newOutput == null)
|
||||
newOutput = window.lang[string + "_other"];
|
||||
|
||||
if(newOutput === null)
|
||||
if(newOutput == null)
|
||||
newOutput = output;
|
||||
|
||||
output = newOutput;
|
||||
|
|
Loading…
Reference in a new issue