nodejs/gtfs-realtime.js
function Translation(properties) {
                if (properties)
                    for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                        if (properties[keys[i]] != null)
                            this[keys[i]] = properties[keys[i]];
            }
function Translation(properties) {
                if (properties)
                    for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                        if (properties[keys[i]] != null)
                            this[keys[i]] = properties[keys[i]];
            }
function Translation ( properties ) { if ( properties ) for ( var keys = Object . keys ( properties ) , i = 0 ; i < keys . length ; ++ i ) if ( properties [ keys [ i ] ] != null ) this [ keys [ i ] ] = properties [ keys [ i ] ] ; }
Properties of a Translation.
@memberof transit_realtime.TranslatedString
@interface ITranslation
@property {string} text Translation text
@property {string|null} [language] Translation language
 
Constructs a new Translation.
@memberof transit_realtime.TranslatedString
@classdesc Represents a Translation.
@implements ITranslation
@constructor
@param {transit_realtime.TranslatedString.ITranslation=} [properties] Properties to set
Properties of a Translation .