Locations are optional, they just serve for translation purposes to help the translator with the context of the message if necessary
msgid and msgstr are the map of translate to translated strings in the po file.
nitc :: PObject :: _locations
Array since the same string can be encountered at several placesnitc :: PObject :: defaultinit
nitc :: PObject :: locations=
Array since the same string can be encountered at several placesnitc :: PObject :: _locations
Array since the same string can be encountered at several placescore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: PObject :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
nitc :: PObject :: locations=
Array since the same string can be encountered at several placescore :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).
# .po file entry
#
# Locations are optional, they just serve for translation purposes
# to help the translator with the context of the message if necessary
#
# msgid and msgstr are the map of translate to translated strings in the po file.
class PObject
# Array since the same string can be encountered at several places
var locations: Array[String]
# Identifier of the string to translate (i.e. the string itself)
var msgid: String is writable
# Translation of the string
var msgstr: String is writable
end
src/frontend/i18n_phase.nit:171,1--184,3