Doxygen
Loading...
Searching...
No Matches
SpanishTranslatorUtils Namespace Reference

Functions

bool isClassMemberHighlightMasculine (ClassMemberHighlight::Enum hl)
 
bool isFileMemberHighlightMasculine (FileMemberHighlight::Enum hl)
 
bool isNamespaceMemberHighlightMasculine (NamespaceMemberHighlight::Enum hl)
 

Detailed Description

translator_es.h modified by Lucas Cruz (7-julio-2000) Updated from 1.3.8 to 1.4.6 by Guillermo Ballester Valor (May-05-2006) Updated to 1.5.1 by Bartomeu Creus Navarro (22-enero-2007) Updated to 1.5.5 by Bartomeu Creus Navarro (5-febrero-2008) Updated to 1.5.8 by Bartomeu Creus Navarro (10-abril-2009) Updated to 1.6.3 by Bartomeu Creus Navarro (3-marzo-2010) Updated to 1.6.4 by Bartomeu Creus Navarro (26-mayo-2010) [(16-jun-2010) grabado en UTF-8] Updated to 1.8.0 by Bartomeu Creus Navarro (11-abril-2012) Updated to 1.8.2 by Bartomeu Creus Navarro (01-julio-2012) Updated to 1.8.4 by Bartomeu Creus Navarro (17-julio-2013) Updated to 1.9.6 by David H. Martín (28-diciembre-2022) Updated to 1.9.7 by David H. Martín (27-marzo-2023)

Function Documentation

◆ isClassMemberHighlightMasculine()

bool SpanishTranslatorUtils::isClassMemberHighlightMasculine ( ClassMemberHighlight::Enum hl)
inline

Returns true if the gender of the given component is masculine in Spanish.

Definition at line 40 of file translator_es.h.

41 {
42 switch (hl)
43 {
45 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
46 {
47 // structs and unions
48 return false;
49 }
50 else
51 {
52 // class members
53 return true;
54 }
59 return false;
64 default:
65 return true;
66 }
67 }
#define Config_getBool(name)
Definition config.h:33

References ClassMemberHighlight::All, Config_getBool, ClassMemberHighlight::Enums, ClassMemberHighlight::EnumValues, ClassMemberHighlight::Events, ClassMemberHighlight::Functions, ClassMemberHighlight::Properties, ClassMemberHighlight::Related, ClassMemberHighlight::Typedefs, and ClassMemberHighlight::Variables.

Referenced by TranslatorSpanish::trCompoundMembersDescriptionTotal().

◆ isFileMemberHighlightMasculine()

bool SpanishTranslatorUtils::isFileMemberHighlightMasculine ( FileMemberHighlight::Enum hl)
inline

Returns true if the gender of the given component is masculine in Spanish.

Definition at line 71 of file translator_es.h.

72 {
73 switch (hl)
74 {
76 if (Config_getBool(OPTIMIZE_OUTPUT_FOR_C))
77 {
78 // functions, variables...
79 return false;
80 }
81 else
82 {
83 // file members
84 return true;
85 }
91 return false;
95 default:
96 return true;
97 }
98 }

References FileMemberHighlight::All, Config_getBool, FileMemberHighlight::Defines, FileMemberHighlight::Dictionaries, FileMemberHighlight::Enums, FileMemberHighlight::EnumValues, FileMemberHighlight::Functions, FileMemberHighlight::Sequences, FileMemberHighlight::Typedefs, and FileMemberHighlight::Variables.

Referenced by TranslatorSpanish::trFileMembersDescriptionTotal().

◆ isNamespaceMemberHighlightMasculine()

bool SpanishTranslatorUtils::isNamespaceMemberHighlightMasculine ( NamespaceMemberHighlight::Enum hl)
inline