Files
adminer/plugins/adminer.js.php
Nikola 3d882578df Add Croatian (hr) translation
Add complete Croatian translation for Adminer, including all strings
in adminer/lang/hr.inc.php, plural forms support in lang.inc.php,
and Croatian descriptions and translations for all plugins.
2026-03-18 15:13:23 +01:00

29 lines
914 B
PHP

<?php
/**
* Enables auto-detection and inclusion of adminer.js, like adminer.css
*
* @author Roy Orbitson, https://github.com/Roy-Orbison
*
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
* @license https://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
*/
class AdminerDotJs extends Adminer\Plugin {
const FILENAME = "adminer.js";
function head($dark = null) {
if (file_exists(self::FILENAME)) {
echo Adminer\script_src(self::FILENAME . "?v=" . crc32(file_get_contents(self::FILENAME))), "\n";
}
}
protected $translations = array(
'cs' => array('' => 'Nahraje adminer.js'),
'de' => array('' => 'Laden Sie adminer.js'),
'pl' => array('' => 'Wczytuj adminer.js'),
'ro' => array('' => 'Încarcă adminer.js'),
'ja' => array('' => 'adminer.js を読込み'),
'hr' => array('' => 'Učitava adminer.js'),
);
}