Skip to content

Commit

Permalink
Merge pull request #8119 from Sesquipedalian/selectordinal_offset0
Browse files Browse the repository at this point in the history
Adds offset:0 to selectordinal constuct for $txt['ordinal_last']
  • Loading branch information
Sesquipedalian authored Feb 24, 2024
2 parents 0bf9073 + 4bde145 commit 5c02c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Languages/en_US/General.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@
other {#th}
}';
// Interprets ordinal numbers as counting from the end. For example, "2" becomes "2nd to last".
$txt['ordinal_last'] = '{0, selectordinal,
$txt['ordinal_last'] = '{0, selectordinal, offset:0
=1 {last}
one {#st to last}
two {#nd to last}
few {#rd to last}
other {#th to last}
}';
// Interprets ordinal numbers as counting from the end, but spelling out values less than 10. For example, "2" becomes "second to last", but "22" becomes "22nd to last".
$txt['ordinal_spellout_last'] = '{0, selectordinal,
$txt['ordinal_spellout_last'] = '{0, selectordinal, offset:0
=1 {last}
=2 {second to last}
=3 {third to last}
Expand Down

0 comments on commit 5c02c12

Please sign in to comment.