Skip to content

Commit

Permalink
Merge pull request #165 from TriDvaRas/patch-1
Browse files Browse the repository at this point in the history
Update ru.js
  • Loading branch information
nmn authored Jun 10, 2022
2 parents 0d7c0f9 + b943761 commit 9ae6fbd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/language-strings/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,17 @@ function numpf(n: number, f: string, s: string, t: string): string {
const strings: L10nsStrings = {
prefixAgo: null,
prefixFromNow: 'через',
suffixAgo: 'назад',
suffixAgo: function suffixAgo(value) {
if (value === 0)
return ''
return 'назад'
},
suffixFromNow: null,
seconds: 'меньше минуты',
seconds: function seconds(value) {
if (value === 0)
return 'только что'
return numpf(value, '%d секунду', '%d секунды', '%d секунд');
},
minute: 'минуту',
minutes: function (value) {
return numpf(value, '%d минута', '%d минуты', '%d минут')
Expand Down

0 comments on commit 9ae6fbd

Please sign in to comment.