Changeset 2638
- Timestamp:
- 08/30/08 13:18:53 (3 months ago)
- Files:
-
- Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/LabelLocalizer.java (modified) (6 diffs)
- Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/License.java (modified) (1 diff)
- Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/Prompts.java (modified) (2 diffs)
- Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/englishPromptList.txt (modified) (1 diff)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/GoogleCode (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/GoogleCode)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/SourceForge (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/SourceForge)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org (added)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/index.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/index.php) (1 diff)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X (added)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechServer.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/SubmitSpeechServer.php) (2 diffs)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-DE.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/SubmitSpeechWebGUI-DE.php) (1 diff)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-EN.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/SubmitSpeechWebGUI-EN.php) (1 diff)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-ES.php (added)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-HB.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/SubmitSpeechWebGUI-HB.php) (1 diff)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-IT.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/SubmitSpeechWebGUI-IT.php) (1 diff)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-NL.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/SubmitSpeechWebGUI-NL.php) (1 diff)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-PT_BR.php (added)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-RU.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/SubmitSpeechWebGUI-RU.php) (1 diff)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/endpage.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/endpage.php)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/fileList.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/fileList.php)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/javaUploadServer.php (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/javaUploadServer.php)
- Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/php.ini (moved) (moved from Trunk/SpeechSubmission/VFSpeechSubmission/server/php.ini)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/LabelLocalizer.java
r2519 r2638 59 59 } else if (language.equals("HB")) { 60 60 Hebrew(); 61 } else if (language.equals("PT_BR")) { 62 Brazilian(); 63 } else if (language.equals("ES")) { 64 Spanish(); 61 65 } else { 62 66 English(); … … 382 386 genderSelection = new String [3]; 383 387 genderSelection[0] = pleaseSelect; 384 genderSelection[1] = "Ma chio";388 genderSelection[1] = "Maschio"; 385 389 genderSelection[2] = "Femmina"; 386 390 … … 393 397 394 398 dialectPanelLabel = "Dialetto di pronuncia:"; 395 dialectSelection = new String [ 9];399 dialectSelection = new String [10]; 396 400 dialectSelection[0] = pleaseSelect; 397 401 dialectSelection[1] = "Italiano generico"; … … 401 405 dialectSelection[5] = "Italiano milanese"; 402 406 dialectSelection[6] = "Italiano pugliese"; 403 dialectSelection[7] = "Italiano "; 404 dialectSelection[8] = "Altro"; 407 dialectSelection[7] = "Italiano "; 408 dialectSelection[8] = "Dialetto napoletano"; 409 dialectSelection[9] = "Altro"; 405 410 406 411 microphonePanelLabel = "Tipo di Microfono:"; … … 514 519 } 515 520 521 private void Brazilian() { 522 usernamePanelLabel = "Usuário:"; 523 usernamePanelText = "(deixe em branco para submeter anonimamente)"; 524 525 copyrightName = "Fundação de Software Livre"; 526 gplAccepted = "Sim"; 527 528 pleaseSelect = "Selecione"; 529 notApplicable = "desconhecido"; 530 531 genderPanelLabel = "Sexo:"; 532 genderSelection = new String [3]; 533 genderSelection[0] = pleaseSelect; 534 genderSelection[1] = "Masculino"; 535 genderSelection[2] = "Feminino"; 536 537 ageRangePanelLabel = "Faixa Etária:"; 538 ageSelection = new String [4]; 539 ageSelection[0] = pleaseSelect; 540 ageSelection[1] = "Jovem"; 541 ageSelection[2] = "Adulto"; 542 ageSelection[3] = "Idoso"; 543 544 dialectPanelLabel = "Dialeto de Pronunciação:"; 545 dialectSelection = new String [3]; 546 dialectSelection[0] = pleaseSelect; 547 dialectSelection[1] = "Português Brasileiro"; 548 dialectSelection[2] = "Outro"; 549 550 microphonePanelLabel = "Tipo de Microfone:"; 551 microphoneSelection = new String [9]; 552 microphoneSelection[0] = pleaseSelect; 553 microphoneSelection[1] = "Fone de Ouvido com Microfone"; 554 microphoneSelection[2] = "Fone de Ouvido USB com Microfone"; 555 microphoneSelection[3] = "Microfone de Mesa"; 556 microphoneSelection[4] = "Microfone de Mesa USB"; 557 microphoneSelection[5] = "Microfone de Laptop"; 558 microphoneSelection[6] = "Microfone de WebCam"; 559 microphoneSelection[7] = "Microfone de Estúdio"; 560 microphoneSelection[8] = "Outro"; 561 562 uploadText = "<html>Clicando no botão \"Submeter\", você concorda em ceder o Copyright de seu discurso gravado para <br> " 563 + "a Fundação de Software Livre e licenciar sua submissão sob a Licença Pública GNU (\"GPL\"):" ; 564 uploadButtonLabel = "Submeter"; 565 566 moreInfoText = "Para mais informações sobre Copyright e GPL, clique aqui:"; 567 moreInfoButtonLabel = "Mais informações"; 568 569 disclaimerText = 570 "<html>VoxForge SpeechSubmission Applet - Copyright (C) 2007 VoxForge<br>" 571 +"Este programa vem com ABSOLUTAMENTE NENHUMA GARANTIA; nem mesmo as garantias<br> " 572 +"implícitas de COMERCIABILIDADE ou ADEQUAÇÃO A UM PROPÓSITO EM PARTICULAR. Para<br>" 573 +"mais detalhes clique no botão \"Sobre\":"; 574 aboutButtonLabel = "Sobre"; 575 576 recordButton = "Gravar"; 577 stopButton = "Parar"; 578 playButton = "Tocar"; 579 580 peakWarningLabel = "Aviso: a entrada pode ser muito barulhenta"; 581 sampleGraphFileLabel = "Arquivo: "; 582 sampleGraphLengthLabel = " Tamanho: "; 583 sampleGraphPositionLabel =" Posição: "; 584 585 uploadingMessageLabel = "Submetendo..."; 586 uploadCompletedMessageLabel = "Submissão completada... Obrigado por sua submissão!"; 587 } 588 589 private void Spanish() { 590 usernamePanelLabel = "Nombre de Usuario:"; 591 usernamePanelText = "(dejar en blanco para enviar anonimamente)"; 592 593 copyrightName = "Free Software Foundation"; 594 gplAccepted = "Si"; 595 596 pleaseSelect = "Por favor Seleccione"; 597 notApplicable = "desconocido"; 598 599 genderPanelLabel = "Genero:"; 600 genderSelection = new String [3]; 601 genderSelection[0] = pleaseSelect; 602 genderSelection[1] = "Masculino"; 603 genderSelection[2] = "Femenino"; 604 605 ageRangePanelLabel = "Rango de Edad:"; 606 ageSelection = new String [4]; 607 ageSelection[0] = pleaseSelect; 608 ageSelection[1] = "Niño"; 609 ageSelection[2] = "Adulto"; 610 ageSelection[3] = "Tercera Edad"; 611 612 dialectPanelLabel = "Dialecto de Pronunciación:"; 613 dialectSelection = new String [7]; 614 dialectSelection[0] = pleaseSelect; 615 dialectSelection[1] = "Español España"; 616 dialectSelection[2] = "Español Mexicano"; 617 dialectSelection[3] = "Español Argentina"; 618 dialectSelection[4] = "Español Chile"; 619 dialectSelection[5] = "Español Latinoamerica"; //other 620 dialectSelection[6] = "Otro"; 621 622 microphonePanelLabel = "Tipo de Microfono:"; 623 microphoneSelection = new String [9]; 624 microphoneSelection[0] = pleaseSelect; 625 microphoneSelection[1] = "Micrófono Auricular"; 626 microphoneSelection[2] = "Micrófono Auricular USB"; 627 microphoneSelection[3] = "Micrófono de Escritorio"; 628 microphoneSelection[4] = "Micrófono de Escritorio USB"; 629 microphoneSelection[5] = "Micrófono de Notebook incorporado"; 630 microphoneSelection[6] = "Micrófono de Cámara Web"; 631 microphoneSelection[7] = "Micrófono de Estudio (Profesional)"; 632 microphoneSelection[8] = "Otro"; 633 634 uploadText = "<html>Haciendo click en el boton \"Subir\", usted esta de acuerdo en entregar los derechos (Copyright) de su voz grabada a <br> " 635 + "la Free Software Foundation (Fundación del Software Libre), y de licenciar lo subido bajo la Licencia Pública GNU (GNU Public Licence) (\"GPL\"):" ; 636 637 uploadButtonLabel = "Subir"; 638 639 moreInfoText = "Para más información sobre los derechos (Copyright) GPL, click aqui:"; 640 moreInfoButtonLabel = "Más Información"; 641 642 disclaimerText = 643 "<html>VoxForge Applet para donación de voz - Copyright (C) 2008 VoxForge<br>" 644 +"This program comes with ABSOLUTELY NO WARRANTY; without even the implied<br> " 645 +"warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For<br>" 646 +"more details click the \"Acerca\" button:"; 647 aboutButtonLabel = "Acerca"; 648 649 recordButton = "Grabar"; 650 stopButton = "Parar"; 651 playButton = "Reproducir"; 652 653 peakWarningLabel = "Advertencia: entrada tal vez muy alta"; 654 sampleGraphFileLabel = "Archivo: "; 655 sampleGraphLengthLabel = " Largo: "; 656 sampleGraphPositionLabel =" Posición: "; 657 658 uploadingMessageLabel = "Subiendo..."; 659 uploadCompletedMessageLabel = "Entrega completada... Gracias por su entrega!"; 660 } 661 516 662 public String getUsernamePanelLabel() { 517 663 return usernamePanelLabel; … … 628 774 return uploadCompletedMessageLabel; 629 775 } 630 631 632 776 } Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/License.java
r2519 r2638 48 48 49 49 VFlicenseNotice = 50 "VoxForge Speech Submission Application v0.1. 4" + System.getProperty("line.separator")50 "VoxForge Speech Submission Application v0.1.5" + System.getProperty("line.separator") 51 51 + "============================" + System.getProperty("line.separator") 52 52 + "Allows a user to record their speech and upload it to the VoxForge server" + System.getProperty("line.separator") Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/Prompts.java
r2529 r2638 71 71 promptList = getPromptTextFile("englishPromptList.txt", 1223); // number of prompts needs to be exact or there might be an error on a roll-over 72 72 } else if (Language.equals("NL")) { 73 promptList = getPromptTextFile("nl","dutchPromptList.txt", 813);73 promptList = getPromptTextFile("nl","dutchPromptList.txt", 947); 74 74 } else if (Language.equals("DE")) { 75 75 promptList = getPromptTextFile("germanPromptList.txt", 1211); … … 80 80 } else if (Language.equals("HB")) { 81 81 promptList = getPromptTextFile("hebrewPromptList.txt", 55); 82 } else if (Language.equals("PT_BR")) { 83 promptList = getPromptTextFile("brazilianPromptList.txt", 218); 84 } else if (Language.equals("ES")) { 85 promptList = getPromptTextFile("es","spanishPromptList.txt", 107); 82 86 } else { 83 87 System.err.println("getPromptTextFile error accessing prompt file for "+ Language + "using default English prompts"); Trunk/SpeechSubmission/VFSpeechSubmission/java/src/speechrecorder/englishPromptList.txt
r2515 r2638 528 528 a0436 But Martin smiled a superior smile. 529 529 a0437 By that answer my professional medical prestige stood or fell. 530 a0438 At sea, Monday, March Sixtee th, Nineteen Oh Eight.530 a0438 At sea, Monday, March Sixteenth, Nineteen Oh Eight. 531 531 a0439 At sea, Wednesday, March Eighteenth, Nineteen Oh Eight. 532 532 a0440 Yes, sir, I corrected. Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/index.php
r2376 r2638 168 168 </br> 169 169 <?php 170 require_once('r0_1_ 2/SubmitSpeechServer.php');170 require_once('r0_1_4/SubmitSpeechServer.php'); 171 171 172 172 echo submitspeech_postlet_applet( Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechServer.php
r2525 r2638 11 11 12 12 13 function submitspeech_postlet_applet($language, $height, $filefieldname='userfile'){13 function submitspeech_postlet_applet($language, $height,$endpage, $filefieldname='userfile'){ 14 14 global $CFG; 15 15 // $language = NL; … … 20 20 $cookie = htmlspecialchars($_SERVER['HTTP_COOKIE']); 21 21 $code = <<<ENDHTMLFRAGMENT 22 <applet name="VoxForge.org Speech Submission Application" width =" 850" height =$height mayscript="mayscript"22 <applet name="VoxForge.org Speech Submission Application" width ="950" height =$height mayscript="mayscript" 23 23 code="speechrecorder/RecorderApplet.class" style="border: 1px solid rgb(153,153,153);"> 24 <param name="codebase" value="http://read.voxforge1.org/r0_1_ 4/"/>24 <param name="codebase" value="http://read.voxforge1.org/r0_1_5/"/> 25 25 <param name="archive" value="speechrecorder.jar"/> 26 <param name="type" value="application/x-java-applet;version=1. 4"/>26 <param name="type" value="application/x-java-applet;version=1.5"/> 27 27 <param name="scriptable" value="true"/> 28 <param name="destination" value="http://read.voxforge1.org/r0_1_ 4/javaUploadServer.php"/>29 <param name="endpage" value=" http://read.voxforge1.org/r0_1_4/endpage.php"/>28 <param name="destination" value="http://read.voxforge1.org/r0_1_5/javaUploadServer.php"/> 29 <param name="endpage" value="$endpage"/> 30 30 <param name="cookie" value="$cookie"/> 31 31 <param name="language" value="$language"/> Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-DE.php
r2525 r2638 12 12 echo submitspeech_postlet_applet( 13 13 'DE', 14 '940' 14 '1125', 15 'http://www.voxforge.org/de/endpage' 15 16 ); 16 17 Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-EN.php
r2525 r2638 12 12 echo submitspeech_postlet_applet( 13 13 'EN', 14 '900' 14 '1075', 15 'http://read.voxforge1.org/r0_1_5/endpage.php' 15 16 ); 16 17 Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-HB.php
r2525 r2638 12 12 echo submitspeech_postlet_applet( 13 13 'HB', 14 '865' 14 '1075', 15 'http://www.voxforge.org/hb/endpage' 15 16 ); 16 17 Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-IT.php
r2525 r2638 12 12 echo submitspeech_postlet_applet( 13 13 'IT', 14 '950' 14 '1175', 15 'http://www.voxforge.org/it/endpage' 15 16 ); 16 17 Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-NL.php
r2525 r2638 12 12 echo submitspeech_postlet_applet( 13 13 'NL', 14 '980' 14 '1150', 15 'http://www.voxforge.org/nl/endpage' 15 16 ); 16 17 Trunk/SpeechSubmission/VFSpeechSubmission/servers/voxforge1.org/rX_X_X/SubmitSpeechWebGUI-RU.php
r2525 r2638 12 12 echo submitspeech_postlet_applet( 13 13 'RU', 14 '1000' 14 '1175', 15 'http://www.voxforge.org/ru/endpage' 15 16 ); 16 17