Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
Conflicts: airtime_mvc/application/common/DateHelper.php airtime_mvc/public/js/airtime/library/library.js
This commit is contained in:
commit
b474035d76
184 changed files with 14239 additions and 1155 deletions
|
@ -756,7 +756,7 @@ SQL;
|
|||
|
||||
try {
|
||||
if (is_null($cueIn) && is_null($cueOut)) {
|
||||
$errArray["error"] = "Cue in and cue out are null.";
|
||||
$errArray["error"] = _("Cue in and cue out are null.");
|
||||
|
||||
return $errArray;
|
||||
}
|
||||
|
@ -791,7 +791,7 @@ SQL;
|
|||
);
|
||||
$result = Application_Common_Database::prepareAndExecute($sql, $params, 'column');
|
||||
if ($result) {
|
||||
$errArray["error"] = "Can't set cue out to be greater than file length.";
|
||||
$errArray["error"] = _("Can't set cue out to be greater than file length.");
|
||||
return $errArray;
|
||||
}
|
||||
|
||||
|
@ -802,7 +802,7 @@ SQL;
|
|||
);
|
||||
$result = Application_Common_Database::prepareAndExecute($sql, $params, 'column');
|
||||
if ($result) {
|
||||
$errArray["error"] = "Can't set cue in to be larger than cue out.";
|
||||
$errArray["error"] = _("Can't set cue in to be larger than cue out.");
|
||||
return $errArray;
|
||||
}
|
||||
|
||||
|
@ -823,7 +823,7 @@ SQL;
|
|||
);
|
||||
$result = Application_Common_Database::prepareAndExecute($sql, $params, 'column');
|
||||
if ($result) {
|
||||
$errArray["error"] = "Can't set cue in to be larger than cue out.";
|
||||
$errArray["error"] = _("Can't set cue in to be larger than cue out.");
|
||||
return $errArray;
|
||||
}
|
||||
|
||||
|
@ -847,7 +847,7 @@ SQL;
|
|||
);
|
||||
$result = Application_Common_Database::prepareAndExecute($sql, $params, 'column');
|
||||
if ($result) {
|
||||
$errArray["error"] = "Can't set cue out to be greater than file length.";
|
||||
$errArray["error"] = _("Can't set cue out to be greater than file length.");
|
||||
return $errArray;
|
||||
}
|
||||
|
||||
|
@ -858,7 +858,7 @@ SQL;
|
|||
);
|
||||
$result = Application_Common_Database::prepareAndExecute($sql, $params, 'column');
|
||||
if ($result) {
|
||||
$errArray["error"] = "Can't set cue out to be smaller than cue in.";
|
||||
$errArray["error"] = _("Can't set cue out to be smaller than cue in.");
|
||||
return $errArray;
|
||||
}
|
||||
|
||||
|
@ -1206,32 +1206,32 @@ SQL;
|
|||
public function getCriteria()
|
||||
{
|
||||
$criteriaOptions = array(
|
||||
0 => "Select criteria",
|
||||
"album_title" => "Album",
|
||||
"bit_rate" => "Bit Rate (Kbps)",
|
||||
"bpm" => "BPM",
|
||||
"composer" => "Composer",
|
||||
"conductor" => "Conductor",
|
||||
"copyright" => "Copyright",
|
||||
"artist_name" => "Creator",
|
||||
"encoded_by" => "Encoded By",
|
||||
"genre" => "Genre",
|
||||
"isrc_number" => "ISRC",
|
||||
"label" => "Label",
|
||||
"language" => "Language",
|
||||
"mtime" => "Last Modified",
|
||||
"lptime" => "Last Played",
|
||||
"length" => "Length",
|
||||
"mime" => "Mime",
|
||||
"mood" => "Mood",
|
||||
"owner_id" => "Owner",
|
||||
"replay_gain" => "Replay Gain",
|
||||
"sample_rate" => "Sample Rate (kHz)",
|
||||
"track_title" => "Title",
|
||||
"track_number" => "Track Number",
|
||||
"utime" => "Uploaded",
|
||||
"info_url" => "Website",
|
||||
"year" => "Year"
|
||||
0 => _("Select criteria"),
|
||||
"album_title" => _("Album"),
|
||||
"bit_rate" => _("Bit Rate (Kbps)"),
|
||||
"bpm" => _("BPM"),
|
||||
"composer" => _("Composer"),
|
||||
"conductor" => _("Conductor"),
|
||||
"copyright" => _("Copyright"),
|
||||
"artist_name" => _("Creator"),
|
||||
"encoded_by" => _("Encoded By"),
|
||||
"genre" => _("Genre"),
|
||||
"isrc_number" => _("ISRC"),
|
||||
"label" => _("Label"),
|
||||
"language" => _("Language"),
|
||||
"mtime" => _("Last Modified"),
|
||||
"lptime" => _("Last Played"),
|
||||
"length" => _("Length"),
|
||||
"mime" => _("Mime"),
|
||||
"mood" => _("Mood"),
|
||||
"owner_id" => _("Owner"),
|
||||
"replay_gain" => _("Replay Gain"),
|
||||
"sample_rate" => _("Sample Rate (kHz)"),
|
||||
"track_title" => _("Title"),
|
||||
"track_number" => _("Track Number"),
|
||||
"utime" => _("Uploaded"),
|
||||
"info_url" => _("Website"),
|
||||
"year" => _("Year")
|
||||
);
|
||||
|
||||
// Load criteria from db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue