Skip to content

Commit

Permalink
add yours pronoun (#818)
Browse files Browse the repository at this point in the history
## About The Pull Request
Ваше сердце принадлежит мне
  • Loading branch information
larentoun authored Nov 27, 2024
1 parent 3fa1339 commit 9a72652
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modular_bandastation/translations/code/defines.dm
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define PATH_TO_TRANSLATE_DATA "modular_bandastation/translations/code/data"
#define PATH_TO_TRANSLATE_DATA "modular_bandastation/translations/code/translation_data"
30 changes: 30 additions & 0 deletions modular_bandastation/translations/code/pronouns.dm
Original file line number Diff line number Diff line change
Expand Up @@ -329,3 +329,33 @@
if((obscured & ITEM_SLOT_ICLOTHING) && skipface)
temp_gender = PLURAL
return ..()

/atom/proc/ru_p_yours(declent = NOMINATIVE)
var/static/list/ru_names_male = ru_names_toml("ваш")
var/static/list/ru_names_female = ru_names_toml("ваша")
var/static/list/ru_names_neuter = ru_names_toml("ваше")
var/static/list/ru_names_plural = ru_names_toml("ваши")
switch(gender)
if(FEMALE)
return ru_names_female[declent] || "ваша"
if(NEUTER)
return ru_names_neuter[declent] || "ваше"
if(PLURAL)
return ru_names_plural[declent] || "ваши"
else
return ru_names_male[declent] || "ваш"

/atom/proc/ru_p_own(declent = NOMINATIVE)
var/static/list/ru_names_male = ru_names_toml("свой")
var/static/list/ru_names_female = ru_names_toml("своя")
var/static/list/ru_names_neuter = ru_names_toml("своё")
var/static/list/ru_names_plural = ru_names_toml("свои")
switch(gender)
if(FEMALE)
return ru_names_female[declent] || "своя"
if(NEUTER)
return ru_names_neuter[declent] || "своё"
if(PLURAL)
return ru_names_plural[declent] || "свои"
else
return ru_names_male[declent] || "свой"
Original file line number Diff line number Diff line change
Expand Up @@ -4193,3 +4193,68 @@ accusative = "паховую область"
instrumental = "паховой областью"
prepositional = "паховой области"
gender = "female"

# MARK: Pronouns
["ваш"]
nominative = "ваш"
genitive = "вашего"
dative = "вашему"
accusative = "ваш"
instrumental = "вашим"
prepositional = "вашем"

["ваша"]
nominative = "ваша"
genitive = "вашей"
dative = "вашей"
accusative = "вашу"
instrumental = "вашей"
prepositional = "вашей"

["ваше"]
nominative = "ваше"
genitive = "вашего"
dative = "вашему"
accusative = "ваше"
instrumental = "вашим"
prepositional = "вашем"

["ваши"]
nominative = "ваши"
genitive = "ваших"
dative = "вашим"
accusative = "ваши"
instrumental = "вашими"
prepositional = "ваших"

["свой"]
nominative = "свой"
genitive = "своего"
dative = "своему"
accusative = "свой"
instrumental = "своим"
prepositional = "своём"

["своя"]
nominative = "своя"
genitive = "своей"
dative = "своей"
accusative = "свою"
instrumental = "своей"
prepositional = "своей"

["своё"]
nominative = "своё"
genitive = "своего"
dative = "своему"
accusative = "своё"
instrumental = "своим"
prepositional = "своём"

["свои"]
nominative = "свои"
genitive = "своих"
dative = "своим"
accusative = "свои"
instrumental = "своими"
prepositional = "своих"

0 comments on commit 9a72652

Please sign in to comment.