CoreFiles by mySites.guru
translate.js17 lines, 233 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
0e59f9bddaee805721945b8cd89fa723
sha1
05a7064dfd8addbb3655a4f597219c18c0357263
sha256
30d77fd7b27da1d15268abe06f96973e6f6cdd1a4cccaa7a0e73e7a5de1972e9
/**
 * Translate plugin
 */

let Translate = {};

Translate.install = function (Vue, options) {
	Vue.mixin({
		methods: {
			translate: function (key) {
				 return Joomla.JText._(key, key);
			}
		}
	})
}

export default Translate;

No other release has this exact content. See every version of this file.