return _.map(self.langs(), function (sLanguage) {
				return {
					'key': sLanguage,
					'user': sLanguage === sUserLanguage,
					'selected': ko.observable(false),
					'fullName': Utils.convertLangName(sLanguage)
				};
			});
Beispiel #2
0
		this.mainLanguageFullName = ko.computed(function () {
			return Utils.convertLangName(this.mainLanguage());
		}, this);
Beispiel #3
0
		this.languageAdminFullName = ko.computed(function () {
			return Utils.convertLangName(this.languageAdmin());
		}, this);
	LanguagesPopupView.prototype.languageTooltipName = function (sLanguage)
	{
		var sResult = Utils.convertLangName(sLanguage, true);
		return Utils.convertLangName(sLanguage, false) === sResult ? '' : sResult;
	};