var args = id.split(",");
if ((args.length % 2) != 0) {
- warning (_("Id does not contain pairs"));
+ warning (_("ID does not contain pairs"));
return false;
}
for (int i = 0; i < args.length; i += 2) {
if (args[i] == "" || args[i + 1] == "") {
- warning (_("Empty part not allowed in virtual id"));
+ warning (_("Empty part not allowed in virtual ID"));
return false;
}
base (media_db, id, name);
this.plaintext_id = get_virtual_container_definition (id);
- debug ("plaintext id is: %s", this.plaintext_id);
+ debug ("plaintext ID is: %s", this.plaintext_id);
var args = this.plaintext_id.split(",");
if ((args.length % 2) != 0) {
try {
this.media_db.remove_by_id (id);
} catch (Error error) {
- warning (_("Failed to remove uri: %s"), error.message);
+ warning (_("Failed to remove URI: %s"), error.message);
}
}
var info = container.split ("=");
var id = MediaExportQueryContainer.PREFIX + info[1];
if (!MediaExportQueryContainer.validate_virtual_id (id)) {
- warning (_("%s is not a valid virtual id"), id);
+ warning (_("%s is not a valid virtual ID"), id);
continue;
}
continue;
}
- debug (_("Id %s no longer in config, deleting..."), id);
+ debug (_("ID %s no longer in config, deleting..."), id);
try {
this.media_db.remove_by_id (id);
} catch (DatabaseError error) {
object_added (item.id);
item_added (item.id);
} catch (DatabaseError error) {
- warning (_("Failed to add item with id %s: %s"),
+ warning (_("Failed to add item with ID %s: %s"),
item.id,
error.message);
db.rollback ();
container_updated (object.id);
}
} catch (Error error) {
- warning (_("Failed to add item with id %s: %s"),
+ warning (_("Failed to add item with ID %s: %s"),
object.id,
error.message);
db.rollback ();