Skip to content

Commit

Permalink
Update _translation.dm (TauCetiStation#12611)
Browse files Browse the repository at this point in the history
* Update _translation.dm

* Update _translation.dm

* Update _translation.dm
  • Loading branch information
volas authored Dec 14, 2023
1 parent abbcb29 commit 3bc2cb1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions code/__DEFINES/_translation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,14 @@
|| atom.gender == FEMALE && "ась" \
|| atom.gender == NEUTER && "ось" \
|| "ись"

////////////////////////////////////////////////
// Прочее //
////////////////////////////////////////////////

// Произвольное слово в вариации по родам
// "[vessel] [ANYMORPH(vessel, "полон", "полна", "полно", "полны")]"
#define ANYMORPH(atom, w_male, w_female, w_neuter, w_plural) atom.gender == MALE && w_male \
|| atom.gender == FEMALE && w_female \
|| atom.gender == NEUTER && w_neuter \
|| w_plural

0 comments on commit 3bc2cb1

Please sign in to comment.