\OC_Util::addScript( $application, $file );
}
+ /**
+ * Add a translation JS file
+ * @param string $application application id
+ * @param string $languageCode language code, defaults to the current locale
+ */
+ public static function addTranslations($application, $languageCode = null) {
+ \OC_Util::addTranslations($application, $languageCode);
+ }
+
/**
* Add a custom element to the header
+ * If $text is null then the element will be written as empty element.
+ * So use "" to get a closing tag.
* @param string $tag tag name of the element
* @param array $attributes array of attributes for the element
* @param string $text the text content for the element