diff --git a/CMakeLists.txt b/CMakeLists.txt index ae88780..58b2825 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ include_directories(${LIBSNDFILE_INCLUDE_DIRS}) add_executable(bmhelper WIN32 src/app.cpp src/app.h + src/bmhelper.rc src/common.h src/Configuration.cpp src/defview.cpp diff --git a/i18n/en/bmhelper.mo b/i18n/en/bmhelper.mo index 3825ad2..d391e44 100644 Binary files a/i18n/en/bmhelper.mo and b/i18n/en/bmhelper.mo differ diff --git a/i18n/en/bmhelper.po b/i18n/en/bmhelper.po index f5dc863..6c23487 100644 --- a/i18n/en/bmhelper.po +++ b/i18n/en/bmhelper.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: bmhelper\n" -"POT-Creation-Date: 2020-11-09 17:07-0300\n" -"PO-Revision-Date: 2020-11-09 17:27-0300\n" +"POT-Creation-Date: 2020-11-27 16:56-0300\n" +"PO-Revision-Date: 2020-11-27 16:57-0300\n" "Last-Translator: \n" "Language-Team: zardoru\n" "Language: en\n" @@ -15,6 +15,71 @@ msgstr "" "X-Poedit-KeywordsList: _\n" "X-Poedit-SearchPath-0: .\n" +#: AudioSplitter.cpp:26 +#, c-format +msgid "Audio splitter (division: \"%s\")" +msgstr "" + +#: AudioSplitter.cpp:36 +msgid "Audio File" +msgstr "" + +#: AudioSplitter.cpp:39 +msgid "You can drag and drop a .wav file into this window." +msgstr "" + +#: AudioSplitter.cpp:44 +msgid "You can drag and drop a wav file into this window." +msgstr "" + +#: AudioSplitter.cpp:47 AudioSplitter.cpp:62 +msgid "Browse..." +msgstr "" + +#: AudioSplitter.cpp:53 +msgid "Output Directory" +msgstr "" + +#: AudioSplitter.cpp:70 +msgid "Output sound file prefix:" +msgstr "" + +#: AudioSplitter.cpp:76 +msgid "Should be the same as the BMS WAV definitions." +msgstr "" + +#: AudioSplitter.cpp:82 +msgid "Slice Parameters" +msgstr "" + +#: AudioSplitter.cpp:85 +msgid "BPM:" +msgstr "" + +#: AudioSplitter.cpp:94 +msgid "Offset (MS):" +msgstr "" + +#: AudioSplitter.cpp:108 +msgid "Split" +msgstr "" + +#: AudioSplitter.cpp:109 +msgid "Close" +msgstr "" + +#: AudioSplitter.cpp:137 +msgid "Error while splitting file" +msgstr "" + +#: AudioSplitter.cpp:147 +msgid "Select audio file..." +msgstr "" + +#: AudioSplitter.cpp:180 +msgid "Select audio output directory..." +msgstr "" + #: app.cpp:21 msgid "Please choose language:" msgstr "" @@ -37,227 +102,226 @@ msgstr "" msgid "%d" msgstr "" -#: divedit.cpp:35 -msgid "Write MIDI File" +#: divedit.cpp:77 +msgid "<" msgstr "" -#: divedit.cpp:36 -msgid "Copy woslicer II Cutting Positions" +#: divedit.cpp:78 +msgid ">" msgstr "" -#: divedit.cpp:37 -msgid "Open BMS WAV definitions..." +#: divedit.cpp:79 +msgid "Transpose to..." msgstr "" -#: divedit.cpp:38 -msgid "Copy BMS Data to Clipboard" +#: divedit.cpp:101 +msgid "Write MIDI File" msgstr "" -#: divedit.cpp:39 -msgid "<" +#: divedit.cpp:102 +msgid "Copy woslicer II Cutting Positions" msgstr "" -#: divedit.cpp:40 -msgid ">" +#: divedit.cpp:103 +msgid "Open BMS WAV definitions..." msgstr "" -#: divedit.cpp:41 -msgid "Transpose to..." +#: divedit.cpp:104 +msgid "Copy BMS Data to Clipboard" msgstr "" -#: divedit.cpp:106 +#: divedit.cpp:105 +msgid "Open built-in audio cutter" +msgstr "" + +#: divedit.cpp:160 msgid "MIDI files" msgstr "" -#: divedit.cpp:109 frame.cpp:160 project.cpp:14 +#: divedit.cpp:163 frame.cpp:160 project.cpp:14 msgid "mid" msgstr "" -#: divedit.cpp:118 +#: divedit.cpp:172 msgid "Failed to export MIDI file." msgstr "" -#: divedit.cpp:129 divedit.cpp:140 divedit.cpp:280 +#: divedit.cpp:183 divedit.cpp:194 divedit.cpp:344 msgid "Clipboard is not available." msgstr "" -#: divedit.cpp:170 +#: divedit.cpp:224 msgid "WAV definitions" msgstr "" -#: divedit.cpp:172 divview.cpp:222 midi_smfin.cpp:84 +#: divedit.cpp:226 divview.cpp:292 midi_smfin.cpp:98 msgid "OK" msgstr "" -#: divedit.cpp:252 +#: divedit.cpp:310 #, c-format msgid "#WAV%s %s_%03d.wav\r\n" msgstr "" -#: divedit.cpp:259 divedit.cpp:270 +#: divedit.cpp:320 divedit.cpp:332 msgid "untitled" msgstr "" -#: divedit.cpp:260 +#: divedit.cpp:321 msgid "BMS WAV definitions" msgstr "" -#: divedit.cpp:261 +#: divedit.cpp:323 msgid "Filename (&F):" msgstr "" -#: divedit.cpp:264 +#: divedit.cpp:327 msgid "Copy to clipboard (&C)" msgstr "" -#: divedit.cpp:265 +#: divedit.cpp:328 msgid "Close (&W)" msgstr "" -#: divedit.cpp:305 +#: divedit.cpp:369 #, c-format msgid "Rename '%s' to" msgstr "" -#: divedit.cpp:306 +#: divedit.cpp:370 msgid "Rename division" msgstr "" -#: division.cpp:330 division.cpp:339 +#: division.cpp:330 division.cpp:340 msgid "BMSE ClipBoard Object Data Format\r\n" msgstr "" -#: division.cpp:332 +#: division.cpp:333 #, c-format -msgid "011%08d1\r\n" +msgid "011%08zu1\r\n" msgstr "" -#: division.cpp:351 +#: division.cpp:352 #, c-format msgid "1%02d%08d%d\r\n" msgstr "" -#: divview.cpp:30 +#: divview.cpp:39 msgid "New division..." msgstr "" -#: divview.cpp:93 +#: divview.cpp:103 #, c-format msgid "Are you sure you want to delete %s?" msgstr "" -#: divview.cpp:188 +#: divview.cpp:200 msgid "Division settings" msgstr "" -#: divview.cpp:191 +#: divview.cpp:203 msgid "None" msgstr "" -#: divview.cpp:192 +#: divview.cpp:204 msgid "nn/gate/vel" msgstr "" -#: divview.cpp:193 +#: divview.cpp:205 msgid "nn/vel/gate" msgstr "" -#: divview.cpp:194 +#: divview.cpp:206 msgid "gate/nn/vel" msgstr "" -#: divview.cpp:195 +#: divview.cpp:207 msgid "gate/vel/nn" msgstr "" -#: divview.cpp:196 +#: divview.cpp:208 msgid "vel/nn/gate" msgstr "" -#: divview.cpp:197 +#: divview.cpp:209 msgid "vel/gate/nn" msgstr "" -#: divview.cpp:199 +#: divview.cpp:217 msgid "Name (&N):" msgstr "" -#: divview.cpp:201 +#: divview.cpp:225 msgid "MIDI settings" msgstr "" -#: divview.cpp:202 +#: divview.cpp:228 msgid "Leave MIDI unaltered (&C)" msgstr "" -#: divview.cpp:203 +#: divview.cpp:234 msgid "Leading silence (&H):" msgstr "" -#: divview.cpp:204 divview.cpp:206 divview.cpp:211 divview.cpp:221 +#: divview.cpp:235 divview.cpp:237 divview.cpp:257 divview.cpp:279 #, c-format msgid "%f" msgstr "" -#: divview.cpp:205 +#: divview.cpp:236 msgid "Min. interval gap (&I):" msgstr "" -#: divview.cpp:207 +#: divview.cpp:238 msgid "Sorting method (&S):" msgstr "" -#: divview.cpp:209 +#: divview.cpp:250 msgid "Minimum difference in:" msgstr "" -#: divview.cpp:210 +#: divview.cpp:256 msgid " Length (&G):" msgstr "" -#: divview.cpp:212 +#: divview.cpp:258 msgid " Velocity (&V):" msgstr "" -#: divview.cpp:213 +#: divview.cpp:259 #, c-format msgid "%zu" msgstr "" -#: divview.cpp:214 +#: divview.cpp:267 msgid "Definition settings" msgstr "" -#: divview.cpp:216 +#: divview.cpp:274 msgid "Use base-36 range(00-ZZ) (&Z)" msgstr "" -#: divview.cpp:217 +#: divview.cpp:275 msgid "Use overloading (&M)" msgstr "" -#: divview.cpp:218 +#: divview.cpp:276 msgid "Starting BMS Index (&D):" msgstr "" -#: divview.cpp:220 +#: divview.cpp:278 msgid "Overloading Interval (&L):" msgstr "" -#: divview.cpp:223 +#: divview.cpp:293 msgid "Cancel" msgstr "" -#: divview.cpp:274 -#, c-format -msgid "division %zu" -msgstr "" - -#: divview.h:34 +#: divview.h:37 msgid "DivisionsEditor" msgstr "" -#: divview.h:73 +#: divview.h:78 msgid "DivisionsView" msgstr "" @@ -333,7 +397,7 @@ msgstr "" msgid "Help (&H)" msgstr "" -#: frame.cpp:136 frame.cpp:234 +#: frame.cpp:136 frame.cpp:240 msgid "Couldn't open file:\r\n" msgstr "" @@ -349,32 +413,32 @@ msgstr "" msgid "Open project file" msgstr "" -#: frame.cpp:263 +#: frame.cpp:269 msgid "Save project as" msgstr "" -#: frame.cpp:271 +#: frame.cpp:277 msgid "The project has been modified. Do you want to save?" msgstr "" -#: frame.cpp:287 +#: frame.cpp:293 #, c-format msgid "source: %zun" msgstr "" -#: frame.cpp:315 +#: frame.cpp:321 msgid "* - " msgstr "" -#: frame.cpp:316 +#: frame.cpp:322 msgid " - " msgstr "" -#: frame.cpp:317 +#: frame.cpp:323 msgid "New project* - " msgstr "" -#: frame.cpp:330 +#: frame.cpp:336 #, c-format msgid "%s: %zun/%zud" msgstr "" @@ -437,28 +501,23 @@ msgstr "" msgid "Note#%d ( %s ) gate:%d/%d vel:%d" msgstr "" -#: midi_smfin.cpp:58 +#: midi_smfin.cpp:53 msgid "MIDI file import settings" msgstr "" -#: midi_smfin.cpp:70 +#: midi_smfin.cpp:65 #, c-format msgid "%04X: %s" msgstr "" -#: midi_smfin.cpp:73 +#: midi_smfin.cpp:74 msgid "Tracks (&T):" msgstr "" -#: midi_smfin.cpp:77 +#: midi_smfin.cpp:86 msgid "Channels (&C):" msgstr "" -#: midi_smfin.cpp:80 -#, c-format -msgid "%02X" -msgstr "" - #: project.cpp:14 msgid "midi" msgstr "" @@ -470,3 +529,25 @@ msgstr "" #: srcview.h:25 msgid "SourceView" msgstr "" + +#: wavsplit.cpp:20 +#, c-format +msgid "Couldn't read input audio file '%s'" +msgstr "" + +#: wavsplit.cpp:29 +msgid "Output path is not a directory" +msgstr "" + +#: wavsplit.cpp:32 +msgid "Output path does not exist" +msgstr "" + +#: wavsplit.cpp:35 +msgid "Output path is not writeable" +msgstr "" + +#: wavsplit.cpp:58 +#, c-format +msgid "Couldn't open %s for output." +msgstr "" diff --git a/i18n/es/bmhelper.mo b/i18n/es/bmhelper.mo index 874341d..4633823 100644 Binary files a/i18n/es/bmhelper.mo and b/i18n/es/bmhelper.mo differ diff --git a/i18n/es/bmhelper.po b/i18n/es/bmhelper.po index 05b246d..17e2458 100644 --- a/i18n/es/bmhelper.po +++ b/i18n/es/bmhelper.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: bmhelper\n" -"POT-Creation-Date: 2020-11-09 17:07-0300\n" -"PO-Revision-Date: 2020-11-09 17:08-0300\n" +"POT-Creation-Date: 2020-11-27 16:58-0300\n" +"PO-Revision-Date: 2020-11-27 17:03-0300\n" "Last-Translator: \n" "Language-Team: zardoru\n" "Language: es_CL\n" @@ -15,6 +15,71 @@ msgstr "" "X-Poedit-KeywordsList: _\n" "X-Poedit-SearchPath-0: .\n" +#: AudioSplitter.cpp:26 +#, c-format +msgid "Audio splitter (division: \"%s\")" +msgstr "Cortador de Audio (división: \"%s\")" + +#: AudioSplitter.cpp:36 +msgid "Audio File" +msgstr "Archivo de Audio" + +#: AudioSplitter.cpp:39 +msgid "You can drag and drop a .wav file into this window." +msgstr "Puedes arrastrar un archivo .wav a esta ventana." + +#: AudioSplitter.cpp:44 +msgid "You can drag and drop a wav file into this window." +msgstr "Pueeds arrastrar un archivo wav a esta ventana." + +#: AudioSplitter.cpp:47 AudioSplitter.cpp:62 +msgid "Browse..." +msgstr "Buscar..." + +#: AudioSplitter.cpp:53 +msgid "Output Directory" +msgstr "Directorio de salida" + +#: AudioSplitter.cpp:70 +msgid "Output sound file prefix:" +msgstr "Prefijo del archivo de sonido de salida:" + +#: AudioSplitter.cpp:76 +msgid "Should be the same as the BMS WAV definitions." +msgstr "Debe ser el mismo que las definiciones de WAV de BMS." + +#: AudioSplitter.cpp:82 +msgid "Slice Parameters" +msgstr "Parámetros de corte" + +#: AudioSplitter.cpp:85 +msgid "BPM:" +msgstr "" + +#: AudioSplitter.cpp:94 +msgid "Offset (MS):" +msgstr "Compensación (MS):" + +#: AudioSplitter.cpp:108 +msgid "Split" +msgstr "Cortar" + +#: AudioSplitter.cpp:109 +msgid "Close" +msgstr "Cerrar (&W)" + +#: AudioSplitter.cpp:137 +msgid "Error while splitting file" +msgstr "Error cortando archivo" + +#: AudioSplitter.cpp:147 +msgid "Select audio file..." +msgstr "Seleccionar archivo de audio..." + +#: AudioSplitter.cpp:180 +msgid "Select audio output directory..." +msgstr "Seleccionar directorio de audio de salida..." + #: app.cpp:21 msgid "Please choose language:" msgstr "" @@ -37,227 +102,226 @@ msgstr "" msgid "%d" msgstr "" -#: divedit.cpp:35 +#: divedit.cpp:77 +msgid "<" +msgstr "" + +#: divedit.cpp:78 +msgid ">" +msgstr "" + +#: divedit.cpp:79 +msgid "Transpose to..." +msgstr "Trasponer a..." + +#: divedit.cpp:101 msgid "Write MIDI File" msgstr "Exportar MIDI" -#: divedit.cpp:36 +#: divedit.cpp:102 msgid "Copy woslicer II Cutting Positions" msgstr "Copiar datos de woslicer" -#: divedit.cpp:37 +#: divedit.cpp:103 msgid "Open BMS WAV definitions..." msgstr "Ver definiciones de WAV de BMS..." -#: divedit.cpp:38 +#: divedit.cpp:104 msgid "Copy BMS Data to Clipboard" msgstr "Copiar datos de BMS" -#: divedit.cpp:39 -msgid "<" -msgstr "" - -#: divedit.cpp:40 -msgid ">" -msgstr "" - -#: divedit.cpp:41 -msgid "Transpose to..." -msgstr "Trasponer a..." +#: divedit.cpp:105 +msgid "Open built-in audio cutter" +msgstr "Abrir cortador de audio incluido" -#: divedit.cpp:106 +#: divedit.cpp:160 msgid "MIDI files" msgstr "Archivos MIDI" -#: divedit.cpp:109 frame.cpp:160 project.cpp:14 +#: divedit.cpp:163 frame.cpp:160 project.cpp:14 msgid "mid" msgstr "" -#: divedit.cpp:118 +#: divedit.cpp:172 msgid "Failed to export MIDI file." msgstr "Fallo al exportar archivo MIDI." -#: divedit.cpp:129 divedit.cpp:140 divedit.cpp:280 +#: divedit.cpp:183 divedit.cpp:194 divedit.cpp:344 msgid "Clipboard is not available." msgstr "Portapapeles no disponible." -#: divedit.cpp:170 +#: divedit.cpp:224 msgid "WAV definitions" msgstr "Definiciones de WAV" -#: divedit.cpp:172 divview.cpp:222 midi_smfin.cpp:84 +#: divedit.cpp:226 divview.cpp:292 midi_smfin.cpp:98 msgid "OK" msgstr "" -#: divedit.cpp:252 +#: divedit.cpp:310 #, c-format msgid "#WAV%s %s_%03d.wav\r\n" msgstr "" -#: divedit.cpp:259 divedit.cpp:270 +#: divedit.cpp:320 divedit.cpp:332 msgid "untitled" msgstr "sin titulo" -#: divedit.cpp:260 +#: divedit.cpp:321 msgid "BMS WAV definitions" msgstr "Definiciones de WAV del BMS" -#: divedit.cpp:261 +#: divedit.cpp:323 msgid "Filename (&F):" msgstr "Nombre de archivo (&F)" -#: divedit.cpp:264 +#: divedit.cpp:327 msgid "Copy to clipboard (&C)" msgstr "Copiar al portapapeles (&C)" -#: divedit.cpp:265 +#: divedit.cpp:328 msgid "Close (&W)" msgstr "Cerrar (&W)" -#: divedit.cpp:305 +#: divedit.cpp:369 #, c-format msgid "Rename '%s' to" msgstr "" -#: divedit.cpp:306 +#: divedit.cpp:370 msgid "Rename division" msgstr "Renombrar división" -#: division.cpp:330 division.cpp:339 +#: division.cpp:330 division.cpp:340 msgid "BMSE ClipBoard Object Data Format\r\n" msgstr "" -#: division.cpp:332 +#: division.cpp:333 #, c-format -msgid "011%08d1\r\n" +msgid "011%08zu1\r\n" msgstr "" -#: division.cpp:351 +#: division.cpp:352 #, c-format msgid "1%02d%08d%d\r\n" msgstr "" -#: divview.cpp:30 +#: divview.cpp:39 msgid "New division..." msgstr "Nueva división..." -#: divview.cpp:93 +#: divview.cpp:103 #, c-format msgid "Are you sure you want to delete %s?" msgstr "Está seguro que quiere borrar %s?" -#: divview.cpp:188 +#: divview.cpp:200 msgid "Division settings" msgstr "Ajustes de división" -#: divview.cpp:191 +#: divview.cpp:203 msgid "None" msgstr "Ninguno" -#: divview.cpp:192 +#: divview.cpp:204 msgid "nn/gate/vel" msgstr "" -#: divview.cpp:193 +#: divview.cpp:205 msgid "nn/vel/gate" msgstr "" -#: divview.cpp:194 +#: divview.cpp:206 msgid "gate/nn/vel" msgstr "" -#: divview.cpp:195 +#: divview.cpp:207 msgid "gate/vel/nn" msgstr "" -#: divview.cpp:196 +#: divview.cpp:208 msgid "vel/nn/gate" msgstr "" -#: divview.cpp:197 +#: divview.cpp:209 msgid "vel/gate/nn" msgstr "" -#: divview.cpp:199 +#: divview.cpp:217 msgid "Name (&N):" msgstr "Nombre (&N)" -#: divview.cpp:201 +#: divview.cpp:225 msgid "MIDI settings" msgstr "Opciones del MIDI" -#: divview.cpp:202 +#: divview.cpp:228 msgid "Leave MIDI unaltered (&C)" msgstr "No alterar MIDI" -#: divview.cpp:203 +#: divview.cpp:234 msgid "Leading silence (&H):" msgstr "Silencio al inicio:" -#: divview.cpp:204 divview.cpp:206 divview.cpp:211 divview.cpp:221 +#: divview.cpp:235 divview.cpp:237 divview.cpp:257 divview.cpp:279 #, c-format msgid "%f" msgstr "" -#: divview.cpp:205 +#: divview.cpp:236 msgid "Min. interval gap (&I):" msgstr "Distancia de tiempo mínima:" -#: divview.cpp:207 +#: divview.cpp:238 msgid "Sorting method (&S):" msgstr "Método de ordenamiento:" -#: divview.cpp:209 +#: divview.cpp:250 msgid "Minimum difference in:" msgstr "Diferencias minimas en:" -#: divview.cpp:210 +#: divview.cpp:256 msgid " Length (&G):" msgstr " Duración (&G):" -#: divview.cpp:212 +#: divview.cpp:258 msgid " Velocity (&V):" msgstr " Velocity (&V):" -#: divview.cpp:213 +#: divview.cpp:259 #, c-format msgid "%zu" msgstr "" -#: divview.cpp:214 +#: divview.cpp:267 msgid "Definition settings" msgstr "Opciones de definición" -#: divview.cpp:216 +#: divview.cpp:274 msgid "Use base-36 range(00-ZZ) (&Z)" msgstr "Usar rango de base-36 (&Z)" -#: divview.cpp:217 +#: divview.cpp:275 msgid "Use overloading (&M)" msgstr "Usar sobrecarga (&M)" -#: divview.cpp:218 +#: divview.cpp:276 msgid "Starting BMS Index (&D):" msgstr "Indice de inicio del BMS (&D)" -#: divview.cpp:220 +#: divview.cpp:278 msgid "Overloading Interval (&L):" msgstr "Intervalo de sobrecarga (&L)" -#: divview.cpp:223 +#: divview.cpp:293 msgid "Cancel" msgstr "Cancelar" -#: divview.cpp:274 -#, c-format -msgid "division %zu" -msgstr "division %zu" - -#: divview.h:34 +#: divview.h:37 msgid "DivisionsEditor" msgstr "" -#: divview.h:73 +#: divview.h:78 msgid "DivisionsView" msgstr "" @@ -333,7 +397,7 @@ msgstr "Divisiones (&D)" msgid "Help (&H)" msgstr "Ayuda (&H)" -#: frame.cpp:136 frame.cpp:234 +#: frame.cpp:136 frame.cpp:240 msgid "Couldn't open file:\r\n" msgstr "No se pudo abrir archivo:\n" @@ -349,32 +413,32 @@ msgstr "No se pudo abrir archivo" msgid "Open project file" msgstr "Abrir archivo de proyecto" -#: frame.cpp:263 +#: frame.cpp:269 msgid "Save project as" msgstr "Guardar proyecto como" -#: frame.cpp:271 +#: frame.cpp:277 msgid "The project has been modified. Do you want to save?" msgstr "El proyecto ha sido modificado. ¿Deseas guardar?" -#: frame.cpp:287 +#: frame.cpp:293 #, c-format msgid "source: %zun" msgstr "fuente: %zun" -#: frame.cpp:315 +#: frame.cpp:321 msgid "* - " msgstr "" -#: frame.cpp:316 +#: frame.cpp:322 msgid " - " msgstr "" -#: frame.cpp:317 +#: frame.cpp:323 msgid "New project* - " msgstr "Nuevo proyecto* - " -#: frame.cpp:330 +#: frame.cpp:336 #, c-format msgid "%s: %zun/%zud" msgstr "" @@ -437,28 +501,23 @@ msgstr "" msgid "Note#%d ( %s ) gate:%d/%d vel:%d" msgstr "" -#: midi_smfin.cpp:58 +#: midi_smfin.cpp:53 msgid "MIDI file import settings" msgstr "Ajustes de importación de MIDI" -#: midi_smfin.cpp:70 +#: midi_smfin.cpp:65 #, c-format msgid "%04X: %s" msgstr "" -#: midi_smfin.cpp:73 +#: midi_smfin.cpp:74 msgid "Tracks (&T):" msgstr "Tracks (Pistas) (&T):" -#: midi_smfin.cpp:77 +#: midi_smfin.cpp:86 msgid "Channels (&C):" msgstr "Channels (Canales) (&C):" -#: midi_smfin.cpp:80 -#, c-format -msgid "%02X" -msgstr "" - #: project.cpp:14 msgid "midi" msgstr "" @@ -470,3 +529,29 @@ msgstr "" #: srcview.h:25 msgid "SourceView" msgstr "" + +#: wavsplit.cpp:20 +#, c-format +msgid "Couldn't read input audio file '%s'" +msgstr "No se pudo leer archivo de sonido '%s'" + +#: wavsplit.cpp:29 +msgid "Output path is not a directory" +msgstr "Directorio de salida no es un directorio" + +#: wavsplit.cpp:32 +msgid "Output path does not exist" +msgstr "Directorio de salida no existe" + +#: wavsplit.cpp:35 +msgid "Output path is not writeable" +msgstr "No se puede escribir al directorio de salida" + +#: wavsplit.cpp:58 +#, c-format +msgid "Couldn't open %s for output." +msgstr "No se pudo abrir el archivo '%s' para escritura." + +#, c-format +#~ msgid "division %zu" +#~ msgstr "division %zu" diff --git a/i18n/ja/bmhelper.mo b/i18n/ja/bmhelper.mo index c9161e6..f3e0e80 100644 Binary files a/i18n/ja/bmhelper.mo and b/i18n/ja/bmhelper.mo differ diff --git a/i18n/ja/bmhelper.po b/i18n/ja/bmhelper.po index 3857b84..40dd2cd 100644 --- a/i18n/ja/bmhelper.po +++ b/i18n/ja/bmhelper.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: bmhelper\n" -"POT-Creation-Date: 2020-11-09 17:07-0300\n" -"PO-Revision-Date: 2020-11-09 17:50-0300\n" +"POT-Creation-Date: 2020-11-27 17:03-0300\n" +"PO-Revision-Date: 2020-11-27 17:04-0300\n" "Last-Translator: \n" "Language-Team: exclusion\n" "Language: ja\n" @@ -15,6 +15,71 @@ msgstr "" "X-Poedit-KeywordsList: _\n" "X-Poedit-SearchPath-0: .\n" +#: AudioSplitter.cpp:26 +#, c-format +msgid "Audio splitter (division: \"%s\")" +msgstr "" + +#: AudioSplitter.cpp:36 +msgid "Audio File" +msgstr "" + +#: AudioSplitter.cpp:39 +msgid "You can drag and drop a .wav file into this window." +msgstr "" + +#: AudioSplitter.cpp:44 +msgid "You can drag and drop a wav file into this window." +msgstr "" + +#: AudioSplitter.cpp:47 AudioSplitter.cpp:62 +msgid "Browse..." +msgstr "" + +#: AudioSplitter.cpp:53 +msgid "Output Directory" +msgstr "" + +#: AudioSplitter.cpp:70 +msgid "Output sound file prefix:" +msgstr "" + +#: AudioSplitter.cpp:76 +msgid "Should be the same as the BMS WAV definitions." +msgstr "" + +#: AudioSplitter.cpp:82 +msgid "Slice Parameters" +msgstr "" + +#: AudioSplitter.cpp:85 +msgid "BPM:" +msgstr "" + +#: AudioSplitter.cpp:94 +msgid "Offset (MS):" +msgstr "" + +#: AudioSplitter.cpp:108 +msgid "Split" +msgstr "" + +#: AudioSplitter.cpp:109 +msgid "Close" +msgstr "閉じる(&W)" + +#: AudioSplitter.cpp:137 +msgid "Error while splitting file" +msgstr "" + +#: AudioSplitter.cpp:147 +msgid "Select audio file..." +msgstr "" + +#: AudioSplitter.cpp:180 +msgid "Select audio output directory..." +msgstr "" + #: app.cpp:21 msgid "Please choose language:" msgstr "" @@ -37,227 +102,226 @@ msgstr "" msgid "%d" msgstr "" -#: divedit.cpp:35 +#: divedit.cpp:77 +msgid "<" +msgstr "" + +#: divedit.cpp:78 +msgid ">" +msgstr "" + +#: divedit.cpp:79 +msgid "Transpose to..." +msgstr "始番号.." + +#: divedit.cpp:101 msgid "Write MIDI File" msgstr "MIDIファイル出力" -#: divedit.cpp:36 +#: divedit.cpp:102 msgid "Copy woslicer II Cutting Positions" msgstr "切断位置をコピー" -#: divedit.cpp:37 +#: divedit.cpp:103 msgid "Open BMS WAV definitions..." msgstr "定義情報..." -#: divedit.cpp:38 +#: divedit.cpp:104 msgid "Copy BMS Data to Clipboard" msgstr "BMSシーケンスをコピー" -#: divedit.cpp:39 -msgid "<" -msgstr "" - -#: divedit.cpp:40 -msgid ">" +#: divedit.cpp:105 +msgid "Open built-in audio cutter" msgstr "" -#: divedit.cpp:41 -msgid "Transpose to..." -msgstr "始番号.." - -#: divedit.cpp:106 +#: divedit.cpp:160 msgid "MIDI files" msgstr "MIDIファイル出力" -#: divedit.cpp:109 frame.cpp:160 project.cpp:14 +#: divedit.cpp:163 frame.cpp:160 project.cpp:14 msgid "mid" msgstr "" -#: divedit.cpp:118 +#: divedit.cpp:172 msgid "Failed to export MIDI file." msgstr "MIDIファイルの書き出しに失敗しました。" -#: divedit.cpp:129 divedit.cpp:140 divedit.cpp:280 +#: divedit.cpp:183 divedit.cpp:194 divedit.cpp:344 msgid "Clipboard is not available." msgstr "クリップボードを利用できません." -#: divedit.cpp:170 +#: divedit.cpp:224 msgid "WAV definitions" msgstr "WAV定義情報" -#: divedit.cpp:172 divview.cpp:222 midi_smfin.cpp:84 +#: divedit.cpp:226 divview.cpp:292 midi_smfin.cpp:98 msgid "OK" msgstr "" -#: divedit.cpp:252 +#: divedit.cpp:310 #, c-format msgid "#WAV%s %s_%03d.wav\r\n" msgstr "" -#: divedit.cpp:259 divedit.cpp:270 +#: divedit.cpp:320 divedit.cpp:332 msgid "untitled" msgstr "" -#: divedit.cpp:260 +#: divedit.cpp:321 msgid "BMS WAV definitions" msgstr "WAV定義情報" -#: divedit.cpp:261 +#: divedit.cpp:323 msgid "Filename (&F):" msgstr "ファイル名(&F):" -#: divedit.cpp:264 +#: divedit.cpp:327 msgid "Copy to clipboard (&C)" msgstr "クリップボードにコピー(&C" -#: divedit.cpp:265 +#: divedit.cpp:328 msgid "Close (&W)" msgstr "閉じる(&W)" -#: divedit.cpp:305 +#: divedit.cpp:369 #, c-format msgid "Rename '%s' to" msgstr "" -#: divedit.cpp:306 +#: divedit.cpp:370 msgid "Rename division" msgstr "" -#: division.cpp:330 division.cpp:339 +#: division.cpp:330 division.cpp:340 msgid "BMSE ClipBoard Object Data Format\r\n" msgstr "" -#: division.cpp:332 +#: division.cpp:333 #, c-format -msgid "011%08d1\r\n" +msgid "011%08zu1\r\n" msgstr "" -#: division.cpp:351 +#: division.cpp:352 #, c-format msgid "1%02d%08d%d\r\n" msgstr "" -#: divview.cpp:30 +#: divview.cpp:39 msgid "New division..." msgstr "新規分割..." -#: divview.cpp:93 +#: divview.cpp:103 #, c-format msgid "Are you sure you want to delete %s?" msgstr "%sを削除してもよろしいですか?" -#: divview.cpp:188 +#: divview.cpp:200 msgid "Division settings" msgstr "分割設定" -#: divview.cpp:191 +#: divview.cpp:203 msgid "None" msgstr "なし" -#: divview.cpp:192 +#: divview.cpp:204 msgid "nn/gate/vel" msgstr "" -#: divview.cpp:193 +#: divview.cpp:205 msgid "nn/vel/gate" msgstr "" -#: divview.cpp:194 +#: divview.cpp:206 msgid "gate/nn/vel" msgstr "" -#: divview.cpp:195 +#: divview.cpp:207 msgid "gate/vel/nn" msgstr "" -#: divview.cpp:196 +#: divview.cpp:208 msgid "vel/nn/gate" msgstr "" -#: divview.cpp:197 +#: divview.cpp:209 msgid "vel/gate/nn" msgstr "" -#: divview.cpp:199 +#: divview.cpp:217 msgid "Name (&N):" msgstr "分割名(&N):" -#: divview.cpp:201 +#: divview.cpp:225 msgid "MIDI settings" msgstr "MIDI設定" -#: divview.cpp:202 +#: divview.cpp:228 msgid "Leave MIDI unaltered (&C)" msgstr "元のシーケンスをそのまま使用する(&C)" -#: divview.cpp:203 +#: divview.cpp:234 msgid "Leading silence (&H):" msgstr "頭の余白(&H):" -#: divview.cpp:204 divview.cpp:206 divview.cpp:211 divview.cpp:221 +#: divview.cpp:235 divview.cpp:237 divview.cpp:257 divview.cpp:279 #, c-format msgid "%f" msgstr "" -#: divview.cpp:205 +#: divview.cpp:236 msgid "Min. interval gap (&I):" msgstr "最小間隔(&I):" -#: divview.cpp:207 +#: divview.cpp:238 msgid "Sorting method (&S):" msgstr "ソート(&S):" -#: divview.cpp:209 +#: divview.cpp:250 msgid "Minimum difference in:" msgstr "値の差が下記以下のノートを同一視する:" -#: divview.cpp:210 +#: divview.cpp:256 msgid " Length (&G):" msgstr " - 長さ(&G):" -#: divview.cpp:212 +#: divview.cpp:258 msgid " Velocity (&V):" msgstr " - ベロシティ(&V):" -#: divview.cpp:213 +#: divview.cpp:259 #, c-format msgid "%zu" msgstr "" -#: divview.cpp:214 +#: divview.cpp:267 msgid "Definition settings" msgstr "定義設定" -#: divview.cpp:216 +#: divview.cpp:274 msgid "Use base-36 range(00-ZZ) (&Z)" msgstr "ZZ定義を有効にする(&Z)" -#: divview.cpp:217 +#: divview.cpp:275 msgid "Use overloading (&M)" msgstr "多重定義を使用する(&M)" -#: divview.cpp:218 +#: divview.cpp:276 msgid "Starting BMS Index (&D):" msgstr "定義の開始番号(&D):" -#: divview.cpp:220 +#: divview.cpp:278 msgid "Overloading Interval (&L):" msgstr "多重定義の間隔(&L):" -#: divview.cpp:223 +#: divview.cpp:293 msgid "Cancel" msgstr "キャンセル" -#: divview.cpp:274 -#, c-format -msgid "division %zu" -msgstr "" - -#: divview.h:34 +#: divview.h:37 msgid "DivisionsEditor" msgstr "" -#: divview.h:73 +#: divview.h:78 msgid "DivisionsView" msgstr "" @@ -333,7 +397,7 @@ msgstr "分割(&D)" msgid "Help (&H)" msgstr "ヘルプ(&H)" -#: frame.cpp:136 frame.cpp:234 +#: frame.cpp:136 frame.cpp:240 msgid "Couldn't open file:\r\n" msgstr "ファイルを開けません:\n" @@ -343,38 +407,38 @@ msgstr "元となるMIDIファイルを選択してください" #: frame.cpp:170 frame.cpp:183 msgid "Couldn't open file" -msgstr "ファイルを開けません。" +msgstr "ファイルを開けません" #: frame.cpp:178 msgid "Open project file" msgstr "プロジェクトファイルを開く" -#: frame.cpp:263 +#: frame.cpp:269 msgid "Save project as" msgstr "プロジェクトを名前を付けて保存" -#: frame.cpp:271 +#: frame.cpp:277 msgid "The project has been modified. Do you want to save?" msgstr "プロジェクトは変更されています。保存しますか?" -#: frame.cpp:287 +#: frame.cpp:293 #, c-format msgid "source: %zun" msgstr "" -#: frame.cpp:315 +#: frame.cpp:321 msgid "* - " msgstr "" -#: frame.cpp:316 +#: frame.cpp:322 msgid " - " msgstr "" -#: frame.cpp:317 +#: frame.cpp:323 msgid "New project* - " msgstr "新規プロジェクト* - " -#: frame.cpp:330 +#: frame.cpp:336 #, c-format msgid "%s: %zun/%zud" msgstr "" @@ -437,28 +501,23 @@ msgstr "" msgid "Note#%d ( %s ) gate:%d/%d vel:%d" msgstr "" -#: midi_smfin.cpp:58 +#: midi_smfin.cpp:53 msgid "MIDI file import settings" msgstr "SMF読み込み設定" -#: midi_smfin.cpp:70 +#: midi_smfin.cpp:65 #, c-format msgid "%04X: %s" msgstr "" -#: midi_smfin.cpp:73 +#: midi_smfin.cpp:74 msgid "Tracks (&T):" msgstr "トラック(&T):" -#: midi_smfin.cpp:77 +#: midi_smfin.cpp:86 msgid "Channels (&C):" msgstr "\"チャンネル(&C):" -#: midi_smfin.cpp:80 -#, c-format -msgid "%02X" -msgstr "" - #: project.cpp:14 msgid "midi" msgstr "" @@ -470,3 +529,25 @@ msgstr "" #: srcview.h:25 msgid "SourceView" msgstr "" + +#: wavsplit.cpp:20 +#, c-format +msgid "Couldn't read input audio file '%s'" +msgstr "" + +#: wavsplit.cpp:29 +msgid "Output path is not a directory" +msgstr "" + +#: wavsplit.cpp:32 +msgid "Output path does not exist" +msgstr "" + +#: wavsplit.cpp:35 +msgid "Output path is not writeable" +msgstr "" + +#: wavsplit.cpp:58 +#, c-format +msgid "Couldn't open %s for output." +msgstr "" diff --git a/i18n/nb_NO/bmhelper.mo b/i18n/nb_NO/bmhelper.mo index 3180c71..4c839fc 100644 Binary files a/i18n/nb_NO/bmhelper.mo and b/i18n/nb_NO/bmhelper.mo differ diff --git a/i18n/nb_NO/bmhelper.po b/i18n/nb_NO/bmhelper.po index ef912a8..cb06ea3 100644 --- a/i18n/nb_NO/bmhelper.po +++ b/i18n/nb_NO/bmhelper.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: bmhelper\n" -"POT-Creation-Date: 2020-11-09 00:25-0300\n" -"PO-Revision-Date: 2020-11-09 17:28-0300\n" +"POT-Creation-Date: 2020-11-27 17:04-0300\n" +"PO-Revision-Date: 2020-11-27 17:05-0300\n" "Last-Translator: \n" "Language-Team: Dolphin\n" "Language: nb\n" @@ -29,386 +29,420 @@ msgstr "" "X-Poedit-SearchPath-13: smf_event.cpp\n" "X-Poedit-SearchPath-14: srcview.cpp\n" -#: defview.cpp:47 divview.cpp:209 +#: app.cpp:21 +msgid "Please choose language:" +msgstr "" + +#: app.cpp:22 +msgid "Language" +msgstr "" + +#: app.cpp:42 +#, c-format +msgid "Couldn't find/load the 'bmhelper' catalog for locale '%s'." +msgstr "" + +#: app.cpp:43 +msgid "unknown" +msgstr "" + +#: defview.cpp:47 #, c-format msgid "%d" msgstr "" -#: divedit.cpp:35 +#: divedit.cpp:77 +msgid "<" +msgstr "" + +#: divedit.cpp:78 +msgid ">" +msgstr "" + +#: divedit.cpp:79 +msgid "Transpose to..." +msgstr "Transponer til..." + +#: divedit.cpp:101 msgid "Write MIDI File" msgstr "Lagre MIDI-fil" -#: divedit.cpp:36 +#: divedit.cpp:102 msgid "Copy woslicer II Cutting Positions" msgstr "Kopier kuttepunktene til woslicerII" -#: divedit.cpp:37 +#: divedit.cpp:103 msgid "Open BMS WAV definitions..." msgstr "Åpne WAV-listen..." -#: divedit.cpp:38 +#: divedit.cpp:104 msgid "Copy BMS Data to Clipboard" msgstr "Kopier notedataen til BMS-filen" -#: divedit.cpp:39 -msgid "<" +#: divedit.cpp:105 +msgid "Open built-in audio cutter" msgstr "" -#: divedit.cpp:40 -msgid ">" -msgstr "" - -#: divedit.cpp:41 -msgid "Transpose to..." -msgstr "Transponer til..." - -#: divedit.cpp:106 +#: divedit.cpp:160 msgid "MIDI files" msgstr "MIDI-filer" -#: divedit.cpp:109 frame.cpp:156 project.cpp:16 +#: divedit.cpp:163 frame.cpp:160 project.cpp:14 msgid "mid" msgstr "" -#: divedit.cpp:118 +#: divedit.cpp:172 msgid "Failed to export MIDI file." msgstr "Kunne ikke eksportere MIDI-fil." -#: divedit.cpp:129 divedit.cpp:140 divedit.cpp:280 +#: divedit.cpp:183 divedit.cpp:194 divedit.cpp:344 msgid "Clipboard is not available." msgstr "Fikk ikke tilgang til utklippstavlen." -#: divedit.cpp:170 +#: divedit.cpp:224 msgid "WAV definitions" msgstr "WAV-liste" -#: divedit.cpp:172 divview.cpp:218 midi_smfin.cpp:79 +#: divedit.cpp:226 divview.cpp:292 midi_smfin.cpp:98 msgid "OK" msgstr "" -#: divedit.cpp:252 +#: divedit.cpp:310 #, c-format msgid "#WAV%s %s_%03d.wav\r\n" msgstr "" -#: divedit.cpp:259 divedit.cpp:270 +#: divedit.cpp:320 divedit.cpp:332 msgid "untitled" msgstr "uten navn" -#: divedit.cpp:260 +#: divedit.cpp:321 msgid "BMS WAV definitions" msgstr "WAV-liste i BMS" -#: divedit.cpp:261 +#: divedit.cpp:323 msgid "Filename (&F):" msgstr "Filnavn (&F):" -#: divedit.cpp:264 +#: divedit.cpp:327 msgid "Copy to clipboard (&C)" msgstr "Kopier til utklippstavle (&C)" -#: divedit.cpp:265 +#: divedit.cpp:328 msgid "Close (&W)" msgstr "Avslutt (&W)" -#: division.cpp:315 division.cpp:324 +#: divedit.cpp:369 +#, c-format +msgid "Rename '%s' to" +msgstr "" + +#: divedit.cpp:370 +msgid "Rename division" +msgstr "" + +#: division.cpp:330 division.cpp:340 msgid "BMSE ClipBoard Object Data Format\r\n" msgstr "" -#: division.cpp:317 +#: division.cpp:333 #, c-format -msgid "011%08d1\r\n" +msgid "011%08zu1\r\n" msgstr "" -#: division.cpp:336 +#: division.cpp:352 #, c-format msgid "1%02d%08d%d\r\n" msgstr "" -#: divview.cpp:28 +#: divview.cpp:39 msgid "New division..." msgstr "Ny oppdeling..." -#: divview.cpp:91 +#: divview.cpp:103 #, c-format msgid "Are you sure you want to delete %s?" msgstr "Er du sikker på at du ønsker å slette %s?" -#: divview.cpp:184 +#: divview.cpp:200 msgid "Division settings" msgstr "Innstillinger for oppdelingen" -#: divview.cpp:187 +#: divview.cpp:203 msgid "None" msgstr "Ingen" -#: divview.cpp:188 +#: divview.cpp:204 msgid "nn/gate/vel" msgstr "" -#: divview.cpp:189 +#: divview.cpp:205 msgid "nn/vel/gate" msgstr "" -#: divview.cpp:190 +#: divview.cpp:206 msgid "gate/nn/vel" msgstr "" -#: divview.cpp:191 +#: divview.cpp:207 msgid "gate/vel/nn" msgstr "" -#: divview.cpp:192 +#: divview.cpp:208 msgid "vel/nn/gate" msgstr "" -#: divview.cpp:193 +#: divview.cpp:209 msgid "vel/gate/nn" msgstr "" -#: divview.cpp:195 +#: divview.cpp:217 msgid "Name (&N):" msgstr "Navn (&N):" -#: divview.cpp:197 +#: divview.cpp:225 msgid "MIDI settings" msgstr "MIDI-innstillinger" -#: divview.cpp:198 +#: divview.cpp:228 msgid "Leave MIDI unaltered (&C)" msgstr "La MIDI forbli uforandret (&C)" -#: divview.cpp:199 +#: divview.cpp:234 msgid "Leading silence (&H):" msgstr "Innledende stillhet (&H):" -#: divview.cpp:200 divview.cpp:202 divview.cpp:207 divview.cpp:217 +#: divview.cpp:235 divview.cpp:237 divview.cpp:257 divview.cpp:279 #, c-format msgid "%f" msgstr "" -#: divview.cpp:201 +#: divview.cpp:236 msgid "Min. interval gap (&I):" msgstr "Minste mulige mellomrom mellom notene:" -#: divview.cpp:203 +#: divview.cpp:238 msgid "Sorting method (&S):" msgstr "Sorter etter:" -#: divview.cpp:205 +#: divview.cpp:250 msgid "Minimum difference in:" msgstr "Minste mulige forskjell mellom:" -#: divview.cpp:206 +#: divview.cpp:256 msgid " Length (&G):" msgstr " Lengde (&G):" -#: divview.cpp:208 +#: divview.cpp:258 msgid " Velocity (&V):" msgstr " Styrke (&V):" -#: divview.cpp:210 +#: divview.cpp:259 +#, c-format +msgid "%zu" +msgstr "" + +#: divview.cpp:267 msgid "Definition settings" msgstr "Innstillinger for WAV-liste" -#: divview.cpp:212 +#: divview.cpp:274 msgid "Use base-36 range(00-ZZ) (&Z)" msgstr "Bruk wavZZ-format (opptil 1295 lyder) (&Z)" -#: divview.cpp:213 +#: divview.cpp:275 msgid "Use overloading (&M)" msgstr "Benytt multidefinisjoner (&M)" -#: divview.cpp:214 +#: divview.cpp:276 msgid "Starting BMS Index (&D):" msgstr "Startindex for WAV-listen (&D)" -#: divview.cpp:216 +#: divview.cpp:278 msgid "Overloading Interval (&L):" msgstr "Nødvendig overlapp for multidefinisjoner (&L)" -#: divview.cpp:219 +#: divview.cpp:293 msgid "Cancel" msgstr "Avbryt" -#: divview.cpp:270 -#, c-format -msgid "division %d" -msgstr "" - -#: frame.cpp:47 +#: frame.cpp:48 msgid "New project (&N)...\tCtrl+N" msgstr "Nytt prosjekt (&N)...\tCtrl+N" -#: frame.cpp:48 +#: frame.cpp:49 msgid "Open project (&O)...\tCtrl+O" msgstr "Åpne prosjekt (&O)...\tCtrl+O" -#: frame.cpp:49 +#: frame.cpp:50 msgid "Save project (&S)\tCtrl+S" msgstr "Lagre prosjekt (&S)\tCtrl+S" -#: frame.cpp:50 +#: frame.cpp:51 msgid "Save project as (&A)...\tCtrl+Shift+S" msgstr "Lagre prosjekt som (&A)...\tCtrl+Shift+S" -#: frame.cpp:51 +#: frame.cpp:52 msgid "Close project (&C)" msgstr "Lukk prosjekt (&C)" -#: frame.cpp:52 +#: frame.cpp:53 msgid "Quit (&X)\tCtrl+Q" msgstr "Avslutt (&X)\tCtrl+Q" -#: frame.cpp:53 +#: frame.cpp:54 msgid "New division (&N)...\tF5" msgstr "Ny oppdeling (&N)...\tF5" -#: frame.cpp:54 +#: frame.cpp:55 +msgid "Rename division (&R)...\tF2" +msgstr "" + +#: frame.cpp:56 msgid "Delete division (&D)" msgstr "Slett oppdeling (&D)" -#: frame.cpp:55 +#: frame.cpp:57 msgid "Write modified MIDI File (&M)..." msgstr "Lagre redigert MIDI-fil (&M)..." -#: frame.cpp:56 +#: frame.cpp:58 msgid "Copy division (&W)" msgstr "Kopier oppdeling (&W)" -#: frame.cpp:57 +#: frame.cpp:59 msgid "Definition information (&D)..." msgstr "Informasjon om WAV-listen (&D)..." -#: frame.cpp:58 +#: frame.cpp:60 msgid "Copy BMS sequence to clipboard (&S)" msgstr "Kopier BMS-notedata til utklippstavle (&S)" -#: frame.cpp:59 +#: frame.cpp:61 msgid "Help (&H)...\tF1" msgstr "Hjelp (&H)...\tF1" -#: frame.cpp:60 +#: frame.cpp:62 msgid "About (&I)..." msgstr "Om programmet (&I)..." -#: frame.cpp:86 +#: frame.cpp:88 msgid "File (&F)" msgstr "Fil (&F)" -#: frame.cpp:94 +#: frame.cpp:97 msgid "Divisions (&D)" msgstr "Oppdelinger (&D)" -#: frame.cpp:97 +#: frame.cpp:100 msgid "Help (&H)" msgstr "Hjelp (&H)" -#: frame.cpp:132 frame.cpp:230 +#: frame.cpp:136 frame.cpp:240 msgid "Couldn't open file:\r\n" msgstr "Kunne ikke åpne fil:\n" -#: frame.cpp:153 +#: frame.cpp:157 msgid "Please select source MIDI file" msgstr "Velg MIDI-filen som skal benyttes" -#: frame.cpp:166 frame.cpp:179 +#: frame.cpp:170 frame.cpp:183 msgid "Couldn't open file" msgstr "Kunne ikke åpne filen" -#: frame.cpp:174 +#: frame.cpp:178 msgid "Open project file" msgstr "Åpne prosjekt" -#: frame.cpp:259 +#: frame.cpp:269 msgid "Save project as" msgstr "Lagre prosjekt som" -#: frame.cpp:267 +#: frame.cpp:277 msgid "The project has been modified. Do you want to save?" msgstr "Dette prosjektet har endringer. Ønsker du å lager nå?" -#: frame.cpp:283 +#: frame.cpp:293 #, c-format -msgid "source: %dn" -msgstr "Kilde: %dn" +msgid "source: %zun" +msgstr "" -#: frame.cpp:311 +#: frame.cpp:321 msgid "* - " msgstr "" -#: frame.cpp:312 +#: frame.cpp:322 msgid " - " msgstr "" -#: frame.cpp:313 +#: frame.cpp:323 msgid "New project* - " msgstr "Nytt prosjekt* - " -#: frame.cpp:326 +#: frame.cpp:336 #, c-format -msgid "%s: %dn/%dd" +msgid "%s: %zun/%zud" msgstr "" -#: mdview.cpp:264 +#: mdview.cpp:259 msgid "C " msgstr "" -#: mdview.cpp:264 +#: mdview.cpp:259 msgid "C#" msgstr "" -#: mdview.cpp:264 +#: mdview.cpp:259 msgid "D " msgstr "" -#: mdview.cpp:264 +#: mdview.cpp:259 msgid "D#" msgstr "" -#: mdview.cpp:264 +#: mdview.cpp:259 msgid "E " msgstr "" -#: mdview.cpp:264 +#: mdview.cpp:259 msgid "F " msgstr "" -#: mdview.cpp:264 +#: mdview.cpp:259 msgid "F#" msgstr "" -#: mdview.cpp:265 +#: mdview.cpp:260 msgid "G " msgstr "" -#: mdview.cpp:265 +#: mdview.cpp:260 msgid "G#" msgstr "" -#: mdview.cpp:265 +#: mdview.cpp:260 msgid "A " msgstr "" -#: mdview.cpp:265 +#: mdview.cpp:260 msgid "A#" msgstr "" -#: mdview.cpp:265 +#: mdview.cpp:260 msgid "B " msgstr "" -#: mdview.cpp:267 +#: mdview.cpp:262 #, c-format msgid "%s %d" msgstr "" -#: mdview.cpp:278 +#: mdview.cpp:273 #, c-format msgid "Note#%d ( %s ) gate:%d/%d vel:%d" msgstr "" -#: midi_smfin.cpp:52 +#: midi_smfin.cpp:53 msgid "MIDI file import settings" msgstr "Innstillinger for MIDI-importeringen" @@ -417,23 +451,18 @@ msgstr "Innstillinger for MIDI-importeringen" msgid "%04X: %s" msgstr "" -#: midi_smfin.cpp:67 +#: midi_smfin.cpp:74 msgid "Tracks (&T):" msgstr "Spor (Tracks) (&T):" -#: midi_smfin.cpp:72 +#: midi_smfin.cpp:86 msgid "Channels (&C):" msgstr "Kanaler (Channels) (&C):" -#: midi_smfin.cpp:75 -#, c-format -msgid "%02X" -msgstr "" - -#: project.cpp:16 +#: project.cpp:14 msgid "midi" msgstr "" -#: project.cpp:16 +#: project.cpp:14 msgid "smf" msgstr "" diff --git a/src/AudioSplitter.cpp b/src/AudioSplitter.cpp index 3728043..a19db25 100644 --- a/src/AudioSplitter.cpp +++ b/src/AudioSplitter.cpp @@ -82,7 +82,7 @@ AudioSplitter::AudioSplitter(wxWindow *parent, const wxPoint &pos, const wxSize auto panel_parameters_sizer = new wxStaticBoxSizer(wxHORIZONTAL, panel_parameters, _("Slice Parameters")); panel_parameters->SetSizer(panel_parameters_sizer); - auto lbl_bpm = new wxStaticText(panel_parameters, wxID_ANY, "BPM:"); + auto lbl_bpm = new wxStaticText(panel_parameters, wxID_ANY, _("BPM:")); panel_parameters_sizer->Add(lbl_bpm, inner_flags); bpm_ctrl = new wxSpinCtrlDouble(panel_parameters); @@ -91,7 +91,7 @@ AudioSplitter::AudioSplitter(wxWindow *parent, const wxPoint &pos, const wxSize bpm_ctrl->SetValue(120); panel_parameters_sizer->Add(bpm_ctrl, inner_flags.Proportion(1)); - auto lbl_offset = new wxStaticText(panel_parameters, wxID_ANY, "Offset (MS):"); + auto lbl_offset = new wxStaticText(panel_parameters, wxID_ANY, _("Offset (MS):")); panel_parameters_sizer->Add(lbl_offset, inner_flags.Proportion(1)); offset_ctrl = new wxSpinCtrlDouble(panel_parameters); @@ -144,10 +144,10 @@ void AudioSplitter::OnBrowseInput(wxCommandEvent &evt) { auto dlg = new wxFileDialog( this, - "Select audio file...", + _("Select audio file..."), path.GetFullPath(), "", - "WAV files (*.wav)", + "WAV files (*.wav)|*.wav", wxFD_OPEN | wxFD_FILE_MUST_EXIST ); diff --git a/src/divedit.cpp b/src/divedit.cpp index cd548a2..e6a73ca 100644 --- a/src/divedit.cpp +++ b/src/divedit.cpp @@ -103,11 +103,11 @@ DivisionEditor::DivisionEditor(FrameWindow *_frame, wxWindow *parent, wxWindowID def_clipboard = new wxButton(right_panel, ID_DefClipboard, _("Open BMS WAV definitions...")); bms_clipboard = new wxButton(right_panel, ID_BmsClipboard, _("Copy BMS Data to Clipboard")); open_splitter = new wxButton(right_panel, ID_OpenSplitter, _("Open built-in audio cutter")); - right_panel_sizer->Add(smf_output, 1, wxEXPAND); + right_panel_sizer->Add(smf_output, 2, wxEXPAND); right_panel_sizer->Add(wos_clipboard, 1, wxEXPAND); - right_panel_sizer->Add(def_clipboard, 1, wxEXPAND); - right_panel_sizer->Add(bms_clipboard, 1, wxEXPAND); right_panel_sizer->Add(open_splitter, 1, wxEXPAND); + right_panel_sizer->Add(def_clipboard, 2, wxEXPAND); + right_panel_sizer->Add(bms_clipboard, 2, wxEXPAND); horizontal_splitter->SplitVertically(left_panel, right_panel, -200); horizontal_splitter->SetSashGravity(1); diff --git a/src/midi_smfin.cpp b/src/midi_smfin.cpp index 0197855..5a23a4a 100644 --- a/src/midi_smfin.cpp +++ b/src/midi_smfin.cpp @@ -66,7 +66,8 @@ class LoadSmfDialog : public wxDialog { } auto this_sizer = new wxBoxSizer(wxVERTICAL); - auto dlg_sizer = new wxGridSizer(2, 2, 10, 10); + auto dlg_sizer = new wxFlexGridSizer(2, 2, 10, 10); + dlg_sizer->SetFlexibleDirection(wxVERTICAL); this_sizer->Add(dlg_sizer, wxSizerFlags().Border(wxALL, 10)); @@ -80,7 +81,7 @@ class LoadSmfDialog : public wxDialog { track_choices.data(), wxCB_DROPDOWN | wxCB_READONLY); combo_trk->SetSelection(def); - dlg_sizer->Add(combo_trk); + dlg_sizer->Add(combo_trk, wxSizerFlags().Expand()); auto channels_lbl = new wxStaticText(this, ID_Tracks_Text, _("Channels (&C):")); dlg_sizer->Add(channels_lbl); diff --git a/src/wavsplit.cpp b/src/wavsplit.cpp index 96ce8b5..7719c2b 100644 --- a/src/wavsplit.cpp +++ b/src/wavsplit.cpp @@ -17,7 +17,7 @@ void SplitFile( SndfileHandle wav(infile); if (!wav) { - throw std::runtime_error(wxString::Format("Couldn't read input audio file '%s'", infile)); + throw std::runtime_error(wxString::Format(_("Couldn't read input audio file '%s'"), infile)); } wxFileName inpath(infile); @@ -26,13 +26,13 @@ void SplitFile( wxFileName path(outpath); if (!path.IsDir()) - throw std::runtime_error("Output path is not a directory"); + throw std::runtime_error(_("Output path is not a directory")); if (!path.DirExists()) - throw std::runtime_error("Output path does not exist"); + throw std::runtime_error(_("Output path does not exist")); if (!path.IsDirWritable()) - throw std::runtime_error("Output path is not writeable"); + throw std::runtime_error(_("Output path is not writeable")); std::vector time = GetSplitPoints(div, bpm, offset_ms); std::sort(time.begin(), time.end()); /* just in case */ @@ -55,7 +55,7 @@ void SplitFile( SndfileHandle wav_out(fn, SFM_WRITE, wav.format(), wav.channels(), wav.samplerate()); if (!wav_out) { - throw std::runtime_error(wxString::Format("Couldn't open %s for output.", fn)); + throw std::runtime_error(wxString::Format(_("Couldn't open %s for output."), fn)); } /* duration of this splice is given by time_start and time_end */