From 4504162f81b178dfffa45db34b93c4b855b5627e Mon Sep 17 00:00:00 2001 From: zardoru Date: Fri, 27 Nov 2020 22:21:45 -0300 Subject: [PATCH] UI cleanup and translations. --- CMakeLists.txt | 1 + i18n/en/bmhelper.mo | Bin 413 -> 413 bytes i18n/en/bmhelper.po | 251 +++++++++++++++++++++++++------------- i18n/es/bmhelper.mo | Bin 4619 -> 6231 bytes i18n/es/bmhelper.po | 257 ++++++++++++++++++++++++++------------- i18n/ja/bmhelper.mo | Bin 4549 -> 4582 bytes i18n/ja/bmhelper.po | 253 +++++++++++++++++++++++++------------- i18n/nb_NO/bmhelper.mo | Bin 4977 -> 4938 bytes i18n/nb_NO/bmhelper.po | 267 +++++++++++++++++++++++------------------ src/AudioSplitter.cpp | 8 +- src/divedit.cpp | 6 +- src/midi_smfin.cpp | 5 +- src/wavsplit.cpp | 10 +- 13 files changed, 668 insertions(+), 390 deletions(-) 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 3825ad298813e90e55cec2edd8975f025f7f189e..d391e44fea424084a3a4b0b3ebaae546e8af7605 100644 GIT binary patch delta 18 ZcmbQsJePSw0lSg8f}xp}>Be$3MgTH-1oi*` delta 18 ZcmbQsJePSw0lR^vf}y#U(Z+H$MgTHz1oQv^ 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 874341d9e164f9e7ab194f74af42296a2bf01a25..4633823ae68079753950fcf6e305dbf4d8aba8ac 100644 GIT binary patch literal 6231 zcmaKvTZ|<|8OKWmVFwTeL{~tI)!m(8Im65>*R$>}vvb)UnHxL1%OwiwIj3f(cYC@I z-F;?u&_wZpVAKR3^Z^nh`e2M84<_n^7jQ`k#>8j{iZO%-UI;N79*FT0{QbMS&p9)@ zYv)w|yXvc|@2l@t-+BGY3%_M}j?=EAy?B8!4};M~ym*E#Hs*407`y^JSoY_@PtpH8 z*atoeeiHmTcop~zxD9+B`~dh{@PptVz-z%bK(Y7_sPz|IV$7A`<>1Fb3u^y;<@iJ3 zHS|+(2l!P`@;+12Uj{!y|F59dy#sy%yapj8&#mCq;1u{_@Ig@Wv_SFu5-7Qz1o@et z@)G^|vj2Nf=YI_ppSQs6;Cm%*=MXx_US87I0q~>XG$^^7AV2eka{Mt+`+Wx#{~wqA zm%$6^zXo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,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 c9161e6fcefb4578d62d4742ecf62faf3143f217..f3e0e804191fb43dde6f5dfcd0b89c3445e946ca 100644 GIT binary patch delta 1380 zcmXxkUr3Wt7{~Evx}~kDZDxP0Y_(R_a_X|SS&JcHYl9@89!0=bXJyRZ`x!M0nCD z2dEpU;Tp3OIA6Rd!G z$%QCko(Y*{P${~;B8c=JD)MKz6W^d-Ty-v@G8g5mSxlntKkht@n!*uOVB@a;6t&hq z$H>1T`oRfBlHh6Gn873-MXiYu`VN{`P2SL|KNd7xiHWUc`Q!M1A-R>cI*g!VnMXxd9H$f(@fGcMdn5DHc!#2X#cBp2l#tdP0hQCreQBtgIOy2K!%#6W~rLWT~yYUUzFLU zqUlr7g49&F;@N&$N}09@gY(m(ZKx=EsVa(4{}GBLN7cSpNmC1cE0|9;l?CkvcB7v$ zHji~um40P*GgX;Z*=GlXg{M{8?w<-4P?5Iws`fj7h2+j0 bT%XG)yYszWJ*AV;h0sJXHeYIQmslJ(Lq562{^cPkPJFUg;I-Pse_Nj4vH52{*sfyKRNev&wZWqKaZ@$DlvDd-E+?n z$0?nZKTXD*#>Hk1M32`P2jkd=X&`p7BGNwxDy|u59hHR-(UxRK;C!F zPkW=2x3_Vl7rSr>^};0#;&t4Ov#182<5sNTW?Vou{1w&kZ`^>PmiqN5s-8q8lEonH zn-NZSaN&aW8mh;0sLV?k!e^)sR_y&nd;K%&gMU$(wYApk3G`6UqB?ZKdKT5;E7(E% zW||Xa_6RrOE8LD%)Q7)eH?E;F?jjA{Pva3BML*s_JwJoH@B!-id3(KTUB(F4SJ6Gs zdI0;qZ0V; zXZ)j_wD5KWITjf*vfOK3qb6<~;{JxPlsiHQb916=l?qtTQu)x_^d494Bxe&Z5@DOVoGY zqS|rjwZ0Q}IXTG55T3*-RKqV&FIMmrenh?4&4E!j1E?V$#4uh&zHM%yIy{5w;A3Ql zjor<)&QYyxcj+c|B-n-j1@D;@MZ?($bxi9)4XV@H|NAMdqgrSR8lg@q)Cq0ZMjYcr zBc`1}POcf?M2kV$WGD(vi58OPs*j>Iq0r*dFeEYj|K5R!h)o^R*)=?B%fC?=f?cW|sZ!zU9l^48sJ*~-1q%WOKCCfSA WkEY_Jf2sM?&3rN8gv%4o4bMM9zHRsb 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 3180c711bf7e86164befe5026cff02e2ad994402..4c839fc41007cc3085899e0c8621e2da6aa69ec3 100644 GIT binary patch delta 1074 zcmXZbPe>GD7{~EvYgWgx^}ktG?q=WY=Gx0G|_}<`6 z8pjalVNP$4*$A%h<-#!#HjChCti@s19>Zg_v)G75tiWlk!C5?nB@A#G8}KW(;xFX= zg896q2VJ-y&tN-_y8gS^O#1=0;ZxLt@30A1u^xY-7XE`;xVqA;3Oi8!y{?@?C6dNw z*0;;t9Hir>^FAu#SyblFu?63t0$g>^*IoY>YQkFoe`Zlsdk{TLqXN3%ynzaM99vo6 z9&@A2USS=s-~lY7Ci;uVF+w`ZIEi{bj3@Cb?!!l@@lWswzC?{*cKv1NZ;a9Jk!69o zEzV7b{q9C({E&;B;iA$nU>CkeEwF)9*>+HYR8ZeIMp1#BM{VgvjA9l~;62oQFHiw~ zsGcV?2q;K5B8iY6@wK&xRuZ5V!6!ioc#l0 CykWio delta 1113 zcmXZbPe{{Y9LMpmx#ij)HFajL<pIAL2%Qg|%437|vr5SFi!suocV5`*~~O zEe-TxGY(=qPP+bk7^VFfx8obsf?u!+S8+4`MJ*hzsVp4BO|-jF{TbIjgGyu+qpWY2 zsBERZcen*VqXJxYIkz zQDz^p9)Dm9mQayKNF#}HRK~|p<0E(ouVEOUq2|BFIKD^CUvd2$HD*gR^1B~&6MRN!SK7Yi{-^O`Ai)Lp0@ z&(yR3+S>DUXyRQ|#Iu;fr>GAvy74vCUHFZB+aesK{xxybnWibY*meqaNrzB@P9izl z9o&lrRAL|UR5bA?>hkge2A-;zIc<7)2ug^6^cbKEN=gPFkoBZ&ju d>4QCUSAt&y(UTW1k5>jQH$CAcyzEWS{sGIIX=MNa 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 */