![JAR search and dependency download from the Maven repository](/logo.png)
org.apache.myfaces.custom.inputHtml.resource.kupunoi18n.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tomahawk12 Show documentation
Show all versions of tomahawk12 Show documentation
JSF components and utilities that can be used with any JSF implementation.
This library is based on the JSF1.1 version of Tomahawk, but with minor source code and build
changes to take advantage of JSF1.2 features. A JSF1.2 implementation is required to use this
version of the Tomahawk library.
The newest version!
window._ = function(msgid, interpolations) {
/* dummy _ function for systems that don't want to use i18n */
if (interpolations) {
for (var id in interpolations) {
var value = interpolations[id];
var reg = new RegExp('\\\$\\\{' + id + '\\\}', 'g');
msgid = msgid.replace(reg, ""+value);
};
};
return msgid;
};
© 2015 - 2025 Weber Informatics LLC | Privacy Policy