Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add yours pronoun #818

Merged
merged 4 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "своих"
Loading