[beast: 48/49] BSE: fix Bse::ErrorType 'blurb' fields (field 'label' was wrongly used)
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 48/49] BSE: fix Bse::ErrorType 'blurb' fields (field 'label' was wrongly used)
- Date: Wed, 1 Jul 2015 11:33:08 +0000 (UTC)
commit 4c492872756ff9d22fab67cc910d288247ee89a9
Author: Tim Janik <timj gnu org>
Date: Tue Jun 30 04:08:29 2015 +0200
BSE: fix Bse::ErrorType 'blurb' fields (field 'label' was wrongly used)
bse/bseapi.idl | 136 ++++++++++++++++++++++++++++----------------------------
1 files changed, 68 insertions(+), 68 deletions(-)
---
diff --git a/bse/bseapi.idl b/bse/bseapi.idl
index 0b28503..f5e9cc6 100644
--- a/bse/bseapi.idl
+++ b/bse/bseapi.idl
@@ -14,82 +14,82 @@ Const MAXFLOAT64 = 1.7976931348623157e+308;
// == Enums ==
enum ErrorType {
- ERROR_NONE = Enum (0, "OK"),
- ERROR_INTERNAL = Enum (1, "Internal error (please report)"),
- ERROR_UNKNOWN = Enum (2, "Unknown error"),
- ERROR_IO = Enum (3, "Input/output error"),
- ERROR_PERMS = Enum (4, "Insufficient permissions"),
+ ERROR_NONE = Enum (0, "", _("OK")),
+ ERROR_INTERNAL = Enum (1, "", _("Internal error (please report)")),
+ ERROR_UNKNOWN = Enum (2, "", _("Unknown error")),
+ ERROR_IO = Enum (3, "", _("Input/output error")),
+ ERROR_PERMS = Enum (4, "", _("Insufficient permissions")),
// file errors
- ERROR_FILE_BUSY = Enum (5, "Device or resource busy"),
- ERROR_FILE_EXISTS = Enum (6, "File exists already"),
- ERROR_FILE_EOF = Enum (7, "End of file"),
- ERROR_FILE_EMPTY = Enum (8, "File empty"),
- ERROR_FILE_NOT_FOUND = Enum (9, "No such file, device or directory"),
- ERROR_FILE_IS_DIR = Enum (10, "Is a directory"),
- ERROR_FILE_OPEN_FAILED = Enum (11, "Open failed"),
- ERROR_FILE_SEEK_FAILED = Enum (12, "Seek failed"),
- ERROR_FILE_READ_FAILED = Enum (13, "Read failed"),
- ERROR_FILE_WRITE_FAILED = Enum (14, "Write failed"),
+ ERROR_FILE_BUSY = Enum (5, "", _("Device or resource busy")),
+ ERROR_FILE_EXISTS = Enum (6, "", _("File exists already")),
+ ERROR_FILE_EOF = Enum (7, "", _("End of file")),
+ ERROR_FILE_EMPTY = Enum (8, "", _("File empty")),
+ ERROR_FILE_NOT_FOUND = Enum (9, "", _("No such file, device or directory")),
+ ERROR_FILE_IS_DIR = Enum (10, "", _("Is a directory")),
+ ERROR_FILE_OPEN_FAILED = Enum (11, "", _("Open failed")),
+ ERROR_FILE_SEEK_FAILED = Enum (12, "", _("Seek failed")),
+ ERROR_FILE_READ_FAILED = Enum (13, "", _("Read failed")),
+ ERROR_FILE_WRITE_FAILED = Enum (14, "", _("Write failed")),
// out of resource conditions
- ERROR_MANY_FILES = Enum (15, "Too many open files"),
- ERROR_NO_FILES = Enum (16, "Too many open files in system"),
- ERROR_NO_SPACE = Enum (17, "No space left on device"),
- ERROR_NO_MEMORY = Enum (18, "Out of memory"),
+ ERROR_MANY_FILES = Enum (15, "", _("Too many open files")),
+ ERROR_NO_FILES = Enum (16, "", _("Too many open files in system")),
+ ERROR_NO_SPACE = Enum (17, "", _("No space left on device")),
+ ERROR_NO_MEMORY = Enum (18, "", _("Out of memory")),
// content errors
- ERROR_NO_HEADER = Enum (19, "Failed to detect header"),
- ERROR_NO_SEEK_INFO = Enum (20, "Failed to retrieve seek information"),
- ERROR_NO_DATA = Enum (21, "No data available"),
- ERROR_DATA_CORRUPT = Enum (22, "Data corrupt"),
- ERROR_WRONG_N_CHANNELS = Enum (23, "Wrong number of channels"),
- ERROR_FORMAT_INVALID = Enum (24, "Invalid format"),
- ERROR_FORMAT_UNKNOWN = Enum (25, "Unknown format"),
- ERROR_DATA_UNMATCHED = Enum (26, "Requested data values unmatched"),
+ ERROR_NO_HEADER = Enum (19, "", _("Failed to detect header")),
+ ERROR_NO_SEEK_INFO = Enum (20, "", _("Failed to retrieve seek information")),
+ ERROR_NO_DATA = Enum (21, "", _("No data available")),
+ ERROR_DATA_CORRUPT = Enum (22, "", _("Data corrupt")),
+ ERROR_WRONG_N_CHANNELS = Enum (23, "", _("Wrong number of channels")),
+ ERROR_FORMAT_INVALID = Enum (24, "", _("Invalid format")),
+ ERROR_FORMAT_UNKNOWN = Enum (25, "", _("Unknown format")),
+ ERROR_DATA_UNMATCHED = Enum (26, "", _("Requested data values unmatched")),
// miscellaneous errors
- ERROR_TEMP = Enum (27, "Temporary error"),
- ERROR_WAVE_NOT_FOUND = Enum (28, "No such wave"),
- ERROR_CODEC_FAILURE = Enum (29, "Codec failure"),
- ERROR_UNIMPLEMENTED = Enum (30, "Functionality not implemented"),
- ERROR_INVALID_PROPERTY = Enum (31, "Invalid object property"),
- ERROR_INVALID_MIDI_CONTROL = Enum (32, "Invalid MIDI control type"),
- ERROR_PARSE_ERROR = Enum (33, "Parsing error"),
- ERROR_SPAWN = Enum (34, "Failed to spawn child process"),
+ ERROR_TEMP = Enum (27, "", _("Temporary error")),
+ ERROR_WAVE_NOT_FOUND = Enum (28, "", _("No such wave")),
+ ERROR_CODEC_FAILURE = Enum (29, "", _("Codec failure")),
+ ERROR_UNIMPLEMENTED = Enum (30, "", _("Functionality not implemented")),
+ ERROR_INVALID_PROPERTY = Enum (31, "", _("Invalid object property")),
+ ERROR_INVALID_MIDI_CONTROL = Enum (32, "", _("Invalid MIDI control type")),
+ ERROR_PARSE_ERROR = Enum (33, "", _("Parsing error")),
+ ERROR_SPAWN = Enum (34, "", _("Failed to spawn child process")),
// Device errors
- ERROR_DEVICE_NOT_AVAILABLE = Enum (35, "No device (driver) available"),
- ERROR_DEVICE_ASYNC = Enum (36, "Device not async capable"),
- ERROR_DEVICE_BUSY = Enum (37, "Device busy"),
- ERROR_DEVICE_FORMAT = Enum (38, "Failed to configure device format"),
- ERROR_DEVICE_BUFFER = Enum (39, "Failed to configure device buffer"),
- ERROR_DEVICE_LATENCY = Enum (40, "Failed to configure device latency"),
- ERROR_DEVICE_CHANNELS = Enum (41, "Failed to configure number of device channels"),
- ERROR_DEVICE_FREQUENCY = Enum (42, "Failed to configure device frequency"),
- ERROR_DEVICES_MISMATCH = Enum (43, "Device configurations mismatch"),
+ ERROR_DEVICE_NOT_AVAILABLE = Enum (35, "", _("No device (driver) available")),
+ ERROR_DEVICE_ASYNC = Enum (36, "", _("Device not async capable")),
+ ERROR_DEVICE_BUSY = Enum (37, "", _("Device busy")),
+ ERROR_DEVICE_FORMAT = Enum (38, "", _("Failed to configure device format")),
+ ERROR_DEVICE_BUFFER = Enum (39, "", _("Failed to configure device buffer")),
+ ERROR_DEVICE_LATENCY = Enum (40, "", _("Failed to configure device latency")),
+ ERROR_DEVICE_CHANNELS = Enum (41, "", _("Failed to configure number of device channels")),
+ ERROR_DEVICE_FREQUENCY = Enum (42, "", _("Failed to configure device frequency")),
+ ERROR_DEVICES_MISMATCH = Enum (43, "", _("Device configurations mismatch")),
// BseSource errors
- ERROR_SOURCE_NO_SUCH_MODULE = Enum (44, "No such synthesis module"),
- ERROR_SOURCE_NO_SUCH_ICHANNEL = Enum (45, "No such input channel"),
- ERROR_SOURCE_NO_SUCH_OCHANNEL = Enum (46, "No such output channel"),
- ERROR_SOURCE_NO_SUCH_CONNECTION = Enum (47, "Input/Output channels not connected"),
- ERROR_SOURCE_PRIVATE_ICHANNEL = Enum (48, "Input channel is private"),
- ERROR_SOURCE_ICHANNEL_IN_USE = Enum (49, "Input channel already in use"),
- ERROR_SOURCE_CHANNELS_CONNECTED = Enum (50, "Input/output channels already connected"),
- ERROR_SOURCE_CONNECTION_INVALID = Enum (51, "Invalid synthesis module connection"),
- ERROR_SOURCE_PARENT_MISMATCH = Enum (52, "Parent mismatch"),
- ERROR_SOURCE_BAD_LOOPBACK = Enum (53, "Bad loopback"),
- ERROR_SOURCE_BUSY = Enum (54, "Synthesis module currently busy"),
- ERROR_SOURCE_TYPE_INVALID = Enum (55, "Invalid synthsis module type"),
+ ERROR_SOURCE_NO_SUCH_MODULE = Enum (44, "", _("No such synthesis module")),
+ ERROR_SOURCE_NO_SUCH_ICHANNEL = Enum (45, "", _("No such input channel")),
+ ERROR_SOURCE_NO_SUCH_OCHANNEL = Enum (46, "", _("No such output channel")),
+ ERROR_SOURCE_NO_SUCH_CONNECTION = Enum (47, "", _("Input/Output channels not connected")),
+ ERROR_SOURCE_PRIVATE_ICHANNEL = Enum (48, "", _("Input channel is private")),
+ ERROR_SOURCE_ICHANNEL_IN_USE = Enum (49, "", _("Input channel already in use")),
+ ERROR_SOURCE_CHANNELS_CONNECTED = Enum (50, "", _("Input/output channels already connected")),
+ ERROR_SOURCE_CONNECTION_INVALID = Enum (51, "", _("Invalid synthesis module connection")),
+ ERROR_SOURCE_PARENT_MISMATCH = Enum (52, "", _("Parent mismatch")),
+ ERROR_SOURCE_BAD_LOOPBACK = Enum (53, "", _("Bad loopback")),
+ ERROR_SOURCE_BUSY = Enum (54, "", _("Synthesis module currently busy")),
+ ERROR_SOURCE_TYPE_INVALID = Enum (55, "", _("Invalid synthsis module type")),
// BseProcedure errors
- ERROR_PROC_NOT_FOUND = Enum (56, "No such procedure"),
- ERROR_PROC_BUSY = Enum (57, "Procedure currently busy"),
- ERROR_PROC_PARAM_INVAL = Enum (58, "Procedure parameter invalid"),
- ERROR_PROC_EXECUTION = Enum (59, "Procedure execution failed"),
- ERROR_PROC_ABORT = Enum (60, "Procedure execution aborted"),
+ ERROR_PROC_NOT_FOUND = Enum (56, "", _("No such procedure")),
+ ERROR_PROC_BUSY = Enum (57, "", _("Procedure currently busy")),
+ ERROR_PROC_PARAM_INVAL = Enum (58, "", _("Procedure parameter invalid")),
+ ERROR_PROC_EXECUTION = Enum (59, "", _("Procedure execution failed")),
+ ERROR_PROC_ABORT = Enum (60, "", _("Procedure execution aborted")),
// various procedure errors
- ERROR_NO_ENTRY = Enum (61, "No such entry"),
- ERROR_NO_EVENT = Enum (62, "No such event"),
- ERROR_NO_TARGET = Enum (63, "No target"),
- ERROR_NOT_OWNER = Enum (64, "Ownership mismatch"),
- ERROR_INVALID_OFFSET = Enum (65, "Invalid offset"),
- ERROR_INVALID_DURATION = Enum (66, "Invalid duration"),
- ERROR_INVALID_OVERLAP = Enum (67, "Invalid overlap"),
+ ERROR_NO_ENTRY = Enum (61, "", _("No such entry")),
+ ERROR_NO_EVENT = Enum (62, "", _("No such event")),
+ ERROR_NO_TARGET = Enum (63, "", _("No target")),
+ ERROR_NOT_OWNER = Enum (64, "", _("Ownership mismatch")),
+ ERROR_INVALID_OFFSET = Enum (65, "", _("Invalid offset")),
+ ERROR_INVALID_DURATION = Enum (66, "", _("Invalid duration")),
+ ERROR_INVALID_OVERLAP = Enum (67, "", _("Invalid overlap")),
};
enum MidiSignalType {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]